[Top][All Lists]

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

Re: irix 5.3 (guile 1.5.1)

From: Bill Schottstaedt
Subject: Re: irix 5.3 (guile 1.5.1)
Date: Thu, 23 Aug 2001 05:10:25 -0700

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  
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 
cfe: Error: gc_os_dep.c, line 1765: redeclaration of 'GC_noop1'; previous 
declaration at line 1753 in file 'gc_os_dep.c'
cfe: Error: gc_os_dep.c, line 1765: Incompatible function return type for this 
make[1]: *** [gc_os_dep.lo] Error 1
make[1]: Leaving directory `/usr/people/bil/test/guile-1.5.1/libguile'

reply via email to

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