[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cvs for Os2
From: |
Elbert Pol |
Subject: |
Cvs for Os2 |
Date: |
Sun, 28 Dec 2008 14:29:33 +0100 |
User-agent: |
Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9.1b1pre) Gecko/20081008000000 SeaMonkey/2.0a1 |
Hello,
I tried to port cvs-1.11.23 to Os2
I use the emx
When i push make i get the following errors...
gcc -c -pedantic -Wall -fno-builtin -I. -I../lib -I../src -I../zlib
-DUNIX -DHAVE_CONFIG_H -o ../src/add.o -c ../src/add.c
In file included from ../src/cvs.h:49,
from ../src/add.c:33:
../lib/xsize.h: In function `xsum':
../lib/xsize.h:61: error: `SIZE_MAX' undeclared (first use in this function)
../lib/xsize.h:61: error: (Each undeclared identifier is reported only once
../lib/xsize.h:61: error: for each function it appears in.)
make: *** [../src/add.o] Error 1
I fix this after searching on the net by adding this to xsize.h
+#ifndef SIZE_MAX
+# define SIZE_MAX ((size_t) -1)
+#endif
+
But then i get other errors:
gcc -c -pedantic -Wall -fno-builtin -I. -I../lib -I../src -I../zlib
-DUNIX -DHAVE_CONFIG_H -o ../src/admin.o -c ../src/admin.c
../src/admin.c: In function `admin':
../src/admin.c:420: warning: implicit declaration of function `getgid'
gcc -c -pedantic -Wall -fno-builtin -I. -I../lib -I../src -I../zlib
-DUNIX -DHAVE_CONFIG_H -o ../src/buffer.o -c ../src/buffer.c
In file included from /extras/include/isc/net.h:79,
from /extras/include/isc/sockaddr.h:26,
from U:/USR/include/sys/socket.h:66,
from ../src/buffer.c:26:
U:/USR/include/net/if.h:449: error: field `ifru_addr' has incomplete type
U:/USR/include/net/if.h:450: error: field `ifru_dstaddr' has incomplete type
U:/USR/include/net/if.h:451: error: field `ifru_broadaddr' has
incomplete type
U:/USR/include/net/if.h:474: error: field `ifra_addr' has incomplete type
U:/USR/include/net/if.h:475: error: field `ifra_broadaddr' has
incomplete type
U:/USR/include/net/if.h:476: error: field `ifra_mask' has incomplete type
In file included from U:/USR/include/net/if.h:503,
from /extras/include/isc/net.h:79,
from /extras/include/isc/sockaddr.h:26,
from U:/USR/include/sys/socket.h:66,
from ../src/buffer.c:26:
U:/USR/include/net/if_arp.h:98: error: field `arp_pa' has incomplete type
U:/USR/include/net/if_arp.h:99: error: field `arp_ha' has incomplete type
U:/USR/include/net/if_arp.h:112: error: field `arp_pa' has incomplete type
U:/USR/include/net/if_arp.h:113: error: field `arp_ha' has incomplete type
In file included from /extras/include/isc/net.h:79,
from /extras/include/isc/sockaddr.h:26,
from U:/USR/include/sys/socket.h:66,
from ../src/buffer.c:26:
U:/USR/include/net/if.h:525: error: field `ifr_addrs' has incomplete type
In file included from U:/USR/include/sys/socket.h:66,
from ../src/buffer.c:26:
/extras/include/isc/sockaddr.h:34: error: field `sa' has incomplete type
../src/buffer.c: In function `stdio_buffer_shutdown':
../src/buffer.c:1458: warning: implicit declaration of function `shutdown'
make: *** [../src/buffer.o] Error 1
Use Gcc v3.4.6
Any ideas ?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Cvs for Os2,
Elbert Pol <=