Problem building Sourcenav under Cygwin (latest)

Mike D mike@clockwork.freeserve.co.uk
Sun Jul 16 12:33:00 GMT 2000


>
> Keep in mind that building sourcenav under Cygwin is
> still "on the cutting edge", so you should expect to
> have some problems. The build process is well tested
> under Linux, not so much under Cygwin.
>
> Try setting CFLAGS="-g -mno-cygwin" and then rerun
> ./configure. That should get rid of the #include
> problems, but it is likely there are others
> lurking in there, so you might need to do a bit of hacking.
> The build support under Cygwin will be much improved
> in the first development snapshot for 5.0.
>
> Mo DeJong

Hi,

I tried that,  but it makes things worse - this time db and grep didn't
build.  Are there any estimated timescales for the defelopment snapshot to
be available ?



make[1]: Entering directory `/build/build/db'
make  all-recursive
make[2]: Entering directory `/build/build/db'
Making all in PORT
make[3]: Entering directory `/build/build/db/PORT'
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c ../../../src/db/PORT/snprintf.c
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash.c
In file included from ../../../src/db/PORT/../hash/hash.c:55:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_bigkey.c
In file included from ../../../src/db/PORT/../hash/hash_bigkey.c:71:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_buf.c
In file included from ../../../src/db/PORT/../hash/hash_buf.c:69:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_func.c
In file included from ../../../src/db/PORT/../hash/hash_func.c:44:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_log2.c
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hash_page.c
In file included from ../../../src/db/PORT/../hash/hash_page.c:71:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/hsearch.c
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../hash
../../../src/db/PORT/../hash/ndbm.c
In file included from ../../../src/db/PORT/../hash/ndbm.c:52:
../../../src/db/PORT/../hash/hash.h:292: warning: `VERSION' redefined
../config.h:48: warning: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I../../../src/db/PORT -I.. -I../../../src/db/PORT/.
./include -I../../../src/db/PORT/include -D__DBINTERFACE_PRIVATE -DWIN32    
-g -mno-cygwin -c -I../../../src/db/PORT/../btree
../../../src/db/PORT/../btree/bt_close.c
In file included from ../../../src/db/PORT/../btree/bt_close.c:50:
../../../src/db/PORT/../btree/btree.h:347: parse error before `caddr_t'
../../../src/db/PORT/../btree/btree.h:347: warning: no semicolon at end of
struct or union
../../../src/db/PORT/../btree/btree.h:348: warning: data definition has no
type or storage class
../../../src/db/PORT/../btree/btree.h:349: parse error before `bt_emap'
../../../src/db/PORT/../btree/btree.h:349: warning: data definition has no
type or storage class
../../../src/db/PORT/../btree/btree.h:381: parse error before `}'
../../../src/db/PORT/../btree/btree.h:381: warning: data definition has no
type or storage class
In file included from ../../../src/db/PORT/../btree/btree.h:383,
                 from ../../../src/db/PORT/../btree/bt_close.c:50:
../../../src/db/PORT/../btree/extern.h:37: parse error before `*'
../../../src/db/PORT/../btree/extern.h:38: parse error before `*'
../../../src/db/PORT/../btree/extern.h:42: parse error before `*'
../../../src/db/PORT/../btree/extern.h:44: parse error before `*'
../../../src/db/PORT/../btree/extern.h:46: parse error before `*'
../../../src/db/PORT/../btree/extern.h:49: parse error before `*'
../../../src/db/PORT/../btree/extern.h:51: parse error before `*'
../../../src/db/PORT/../btree/extern.h:52: parse error before `*'
../../../src/db/PORT/../btree/extern.h:54: parse error before `*'
../../../src/db/PORT/../btree/extern.h:55: parse error before `*'
../../../src/db/PORT/../btree/extern.h:59: parse error before `*'
../../../src/db/PORT/../btree/extern.h:60: parse error before `*'
../../../src/db/PORT/../btree/extern.h:61: parse error before `*'
../../../src/db/PORT/../btree/bt_close.c:52: parse error before `*'
../../../src/db/PORT/../btree/bt_close.c: In function `__bt_close':
../../../src/db/PORT/../btree/bt_close.c:67: `t' undeclared (first use in
this function)
../../../src/db/PORT/../btree/bt_close.c:67: (Each undeclared identifier is
reported only once
../../../src/db/PORT/../btree/bt_close.c:67: for each function it appears
in.)
../../../src/db/PORT/../btree/bt_close.c:68: parse error before `int'
../../../src/db/PORT/../btree/bt_close.c:103: `fd' undeclared (first use in
this function)
../../../src/db/PORT/../btree/bt_close.c: In function `__bt_sync':
../../../src/db/PORT/../btree/bt_close.c:123: `t' undeclared (first use in
this function)
../../../src/db/PORT/../btree/bt_close.c:124: parse error before `int'
../../../src/db/PORT/../btree/bt_close.c:146: `status' undeclared (first use
in this function)
../../../src/db/PORT/../btree/bt_close.c: At top level:
../../../src/db/PORT/../btree/bt_close.c:163: parse error before `BTREE'
../../../src/db/PORT/../btree/bt_close.c:163: `t' used prior to declaration
../../../src/db/PORT/../btree/bt_close.c:163: warning: data definition has
no type or storage class
../../../src/db/PORT/../btree/bt_close.c:164: parse error before `{'
../../../src/db/PORT/../btree/bt_close.c:168: parse error before `if'
../../../src/db/PORT/../btree/bt_close.c:179: parse error before `&'
../../../src/db/PORT/../btree/bt_close.c:180: parse error before `->'
../../../src/db/PORT/../btree/bt_close.c:180: warning: data definition has
no type or storage class
make[3]: *** [bt_close.o] Error 1
make[3]: Leaving directory `/build/build/db/PORT'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/build/db'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/build/build/db'
make: *** [all-db] Error 2
>



More information about the Sourcenav mailing list