Following up the previous note, in guile 1.5.1, all's well
except that the SGI compiler wants the GC_noop1 declaration
to precede its use.  As a side note, in Solaris 2.7, I
got this warning:

gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -O2 -Wall -Wmissing-prototypes -c 
posix.c  -fPIC -DPIC -DPIC -o posix.o
posix.c: In function `scm_sethostname':
posix.c:1579: warning: implicit declaration of function `sethostname'

(as well as the complaint about GC_noop1).

And, perhaps not a bug but it stopped me, in both Irix 5.3 and
Solaris 2.7, the build stopped with:

creating libguile.la
(cd .libs && rm -f libguile.la && ln -s ../libguile.la libguile.la)
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl    -g -O2 -Wall -Wmissing-prototypes -c 
guile.c
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wmissing-prototypes  -o guile 
-dlpreopen force guile.o libguile.la   
-lcrypt -lsocket -lnsl -lm
libtool: link: not configured to extract global symbols from dlpreopened files
gcc -g -O2 -Wall -Wmissing-prototypes -o .libs/guile guile.o  ./.libs/libguile.so -ldl 
-lcrypt -lsocket -lnsl -lm  
-R/usr/local/lib
Undefined                       first referenced
 symbol                             in file
lt_preloaded_symbols                guile.o
ld: fatal: Symbol referencing errors. No output written to .libs/guile
make[1]: *** [guile] Error 1

In Linux and LinuxPPC everything went smoothly.


Here's the SGI error:

cc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -c gc_os_dep.c  -DPIC -DPIC -o 
gc_os_dep.o
cfe: Error: gc_os_dep.c, line 1765: redeclaration of 'GC_noop1'; previous declaration 
at line 1753 in file 'gc_os_dep.c'
     GC_noop1(x)
 ----^
cfe: Error: gc_os_dep.c, line 1765: Incompatible function return type for this 
function.
     GC_noop1(x)
 ------------^
make[1]: *** [gc_os_dep.lo] Error 1
make[1]: Leaving directory `/usr/people/bil/test/guile-1.5.1/libguile'

_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile

Reply via email to