hermi | 1 Sep 08:39
Picon
Picon

Re: Problems building Odin

Hi Steven,

thanks for your response.

Steven Levine schrieb am 31.08.11 22.16:
> I've not built Odin in a while, so my notes are not entirely up to date.
> 
> Just be be sure we are looking at the same codebase, what does svn info
> report?
> 
svn info:
------------------
URL: http://svn.netlabs.org/repos/odin32/trunk
Repository Root: http://svn.netlabs.org/repos/odin32
Repository UUID: 3ae8c665-79e0-dc11-ae90-00e081727c95
Revision: 21678
   :
------------------
I think it should be the current revision.

>> errors I got: 1) remove 0x1A from end of U:\OS2TK45\H\LIBC\direct.h
>> 2) remove 0x1A from end of U:\OS2TK45\H\LIBC\wctype.h
> 
> Are you sure you have a current version of the Toolkit?  This has never
> been an issue here.
> 
The Readme (14. Nov 2005) says VERSION 4.5.2 with modifications made by Serenity
Systems. Some of the *.h filed have this EOF marker, some not.

>> 3) copy F:\emx321\emx\include\limits.h F:\emx321\emx\include\sys\limits.h
(Continue reading)

Steven Levine | 1 Sep 18:05
Picon
Favicon

Re: Re: Problems building Odin

In <j3n9bi$l5k$1 <at> dough.gmane.org>, on 09/01/11
   at 08:39 AM, hermi <ulrichsk <at> gmx.de> said:

Hi Ulrich,

>Revision: 21678
>   :
>------------------
>I think it should be the current revision.

It appears to be.

>> Are you sure you have a current version of the Toolkit?  This has never
>> been an issue here.
>> 
>The Readme (14. Nov 2005) says VERSION 4.5.2 with modifications made by
>Serenity Systems. Some of the *.h filed have this EOF marker, some not.

Please submit an enhancement ticket to the eCS bugtracker.  The Ctrl-Z's
are not a problem for most compilers, but they are really superfluous
these days.

Gcc comes with its own version of the toolkit, so you might want to look
at your C_INCLUDE_PATH settings.  The Toolkit path should be at the end.

>In the GCCBuildInstructions.txt gcc 3.2.1 is used and ConfigureGCC.cmd
>(in the root working directory) checks for that version.
>I mainly reused the setup that I used 4 years ago successfully.

And it worked fine four years ago. :-)
(Continue reading)

Dmitriy Kuminov | 1 Sep 20:17

Re: Problems building Odin

Hello,

On 31.08.2011 20:43, hermi wrote:

> I found that the current odin svn code fixes some problems I have with
> Java/SmartGIT.
>
> As we don't have daily builds any more I tried to compile odin myself.
>
> I had to make the following modifications on my system to resolve some errors I got:
> 1) remove 0x1A from end of U:\OS2TK45\H\LIBC\direct.h
> 2) remove 0x1A from end of U:\OS2TK45\H\LIBC\wctype.h
> 3) copy F:\emx321\emx\include\limits.h F:\emx321\emx\include\sys\limits.h

You use the wrong version of GCC (as already mentioned by Steve).

First, the majority of the code must be built with IBM VAC 3.0. You only need 
GCC for NTDLL.DLL. You need GCC 3.3.5 for that. Earlier or later versions of GCC 
won't work.

ConfigureGCC.cmd is broken (never completed?), don't use it.

You should use Configure.cmd to set up the required build environment -- it will 
give you an idea of what you need. AFAIR, it's VAC 3.0, DDK, OS2TK45 and MSVC 
6.0 (for win32k.sys).

See also env.tpl.cmd that will give you a hint on how GCC should be injected in 
this setup.

Keep in mind that build instructions (and many other parts of the documentation) 
(Continue reading)

hermi | 7 Sep 22:34
Picon
Picon

Re: Problems building Odin (solved)

Hi all,

thanks to the remarks from Steven and Dmitriy I finally got Odin built.

I attach some *.cmd and .cfg files which were necessary to set up a working
build environment.

It is required that OS2TK45, VAC308, Moztools and GCC335 are installed on drive
U:, otherwise the above files need to be customized.

BuildEnv.cfg hast to be placed in the %ETC% directory (which ist e:\mptn\etc in
my configuration).

Again, many thanks for your help,
hermi
Attachment (BuildEnvOdin.Zip): application/octet-stream, 7964 bytes

---------------------------------------------------------------------
To unsubscribe, e-mail: odin-user-unsubscribe <at> netlabs.org
For additional commands, e-mail: odin-user-help <at> netlabs.org

Gmane