gdsl-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gdsl-general] gdsl 1.0 on FreeBSD 4.4


From: Charles Randall
Subject: [gdsl-general] gdsl 1.0 on FreeBSD 4.4
Date: Sun, 21 Apr 2002 12:59:39 -0700 (PDT)

gdsl 1.0 won't compile on FreeBSD 4.4.

During configure,

...
creating doc/fr/Makefile
sed: ./doc/fr/Makefile.in: No such file or directory
creating doc/en/Makefile
sed: ./doc/en/Makefile.in: No such file or directory
creating Makefile
creating src/config.h

During make (this isn't related to the configure issue
identified above),

gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -D_REENTRANT
-D_THREAD_SAFE -D_GNU_SOURCE -pedantic -rdynamic -c
_gdsl_bintree.c  -fPIC -DPIC -o .libs/_gdsl_bintree.lo
In file included from _gdsl_bintree.c:33:
_gdsl_bintree.h:218: syntax error before
`_gdsl_bintree_height'
_gdsl_bintree.h:219: ANSI C forbids data definition
with no type or storage class
_gdsl_bintree.h:230: syntax error before
`_gdsl_bintree_size'
_gdsl_bintree.h:231: ANSI C forbids data definition
with no type or storage class
_gdsl_bintree.c:208: syntax error before
`_gdsl_bintree_height'
_gdsl_bintree.c: In function `_gdsl_bintree_height':
_gdsl_bintree.c:220: `ulong' undeclared (first use in
this function)
_gdsl_bintree.c:220: (Each undeclared identifier is
reported only once
_gdsl_bintree.c:220: for each function it appears in.)
_gdsl_bintree.c: At top level:
_gdsl_bintree.c:226: syntax error before
`_gdsl_bintree_size'
_gdsl_bintree.c: In function `_gdsl_bintree_size':
_gdsl_bintree.c:233: `ulong' undeclared (first use in
this function)
gmake[3]: *** [_gdsl_bintree.lo] Error 1
gmake[3]: Leaving directory
`/usr/home/crandall/src/gdsl-1.0/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/home/crandall/src/gdsl-1.0/src'
gmake[1]: *** [all-recursive-am] Error 2
gmake[1]: Leaving directory
`/usr/home/crandall/src/gdsl-1.0/src'
gmake: *** [all-recursive] Error 1

It looks like ulong from gdsl_types.h isn't being
properly declared.

The patch below allows compilation, but I believe that
this should probably be determined by configure.

Additionally, there should probably be a "test"
makefile target that automatically provides input to
the test programs invoked by "make check".

Finally, I'd like to ask you to consider the LGPL
instead of the GPL.

FYI,
-Charles

--- backup/gdsl_types.h Sun Apr 21 13:49:30 2002
+++ gdsl_types.h        Sun Apr 21 13:51:19 2002
@@ -94,6 +94,11 @@
 
 typedef char          byte;
 typedef unsigned char ubyte;
+
+#ifdef __FreeBSD__
+typedef unsigned long ulong;
+#endif
+
 #endif /* not WIN32 */
 
 #ifdef TRUE




=====
Charles F. Randall, IV
address@hidden (always forwarded)

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]