hermi | 31 Aug 18:43
Picon
Picon

Problems building Odin

Hi all,

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

But now I the build process fails at the point where the minivcrt-library is
compiled:
------------------------------------------------------------------------------------
   nmake /nologo -f minivcrt.mak lib
   gcc -Zomf -pipe -Wall -Zmt -g -O6 -mcpu=pentium -Zdll
       -IF:\Copy\Odi\Odin\include\Win -I. -IF:\Copy\Odi\Odin\include
       -D__MINIVCRT__ -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS
       -DCOMCTL32UNDOC -o .\bin\Release.emx.minivcrt\dir.obj
       -c F:\Copy\Odi\Odin\src\msvcrt\dir.c
In file included from F:/Copy/Odi/Odin/src/msvcrt/dir.c:60:
F:/Copy/Odi/Odin/include/Win/wine/unicode.h:82: syntax error before "const"
F:/Copy/Odi/Odin/include/Win/wine/unicode.h:83: syntax error before "const"
   :
F:/Copy/Odi/Odin/include/Win/wine/unicode.h:100: syntax error before "int"
F:/Copy/Odi/Odin/include/Win/wine/unicode.h:102: syntax error before "int"
F:/Copy/Odi/Odin/src/msvcrt/dir.c: In function `MSVCRT__fullpath':
F:/Copy/Odi/Odin/src/msvcrt/dir.c:663: warning: implicit declaration of function
`_getdcwd'
------------------------------------------------------------------------------------

It seems that is has something to do with the
  #define _K32CONV _Optlink
in
  Odin\include\win\wine\unicode.h (line 70)
which generates the error at line 82:
  extern _K32CONV const union cptable *cp_get_table( unsigned int codepage );

Unfortunately I have no idea how to fix it.

Can someone give me a hint?

Many thanks,
hermi

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


Gmane