bug-guile
[Top][All Lists]
Advanced

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

guile-1.6.4: build feedback: Sun Solaris 2.[789]


From: Nelson H. F. Beebe
Subject: guile-1.6.4: build feedback: Sun Solaris 2.[789]
Date: Thu, 24 Apr 2003 08:29:24 -0600 (MDT)

------------------------------------------------------------------------
Machinetype:            Sun Ultra Enterprise 450/400 (4 400 MHz CPUs);  Solaris 
2.7
Configure environment:  CC=c89 CXX=CC LDFLAGS=-R/usr/local/lib 
c89 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I../libguile-ltdl -g -c 
gc_os_dep.c  -KPIC -DPIC -o gc_os_dep.o
"gc_os_dep.c", line 380: syntax error before or at: --
"gc_os_dep.c", line 380: undefined or not a type: unknown
"gc_os_dep.c", line 380: undefined or not a type: machine
"gc_os_dep.c", line 1276: undefined or not a type: type
...

This error also occurred on Solaris 2.8 and 2.9.

------------------------------------------------------------------------
Machinetype:            Sun Sun Blade 100 (UltraSPARC IIi 650 MHz); Solaris 2.9
Configure environment:  CC=CC CFLAGS="-xO5 -dalign -xlibmil -xcg92 -xsafe=mem" 
CXX=CC CXXFLAGS="-xO5 -dalign -xlibmil -xcg92 -xsafe=mem" 
LDFLAGS=-R/usr/local/lib 

CC -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I./.. -xO5 -dalign -xlibmil 
-xcg92 -xsafe=mem -c guile-ltdl.c  -KPIC -DPIC -o .libs/guile-ltdl.lo
"raw-ltdl.c", line 167: Warning (Anachronism): lt_dlmalloc, of type 
void*(*)(unsigned), was previously declared extern "C" void*(*)(unsigned).
"raw-ltdl.c", line 167: Error: Multiple declaration for lt_dlmalloc.
"raw-ltdl.c", line 167: Warning (Anachronism): Using void*(*)(unsigned) to 
initialize extern "C" void*(*)(unsigned).
"raw-ltdl.c", line 169: Warning (Anachronism): lt_dlrealloc, of type 
void*(*)(void*,unsigned), was previously declared extern "C" 
void*(*)(void*,unsigned).
"raw-ltdl.c", line 169: Error: Multiple declaration for lt_dlrealloc.
....

I won't report results of other build attempts using C++ compilers on
the guile C code.  Several GNU packages, and most of my own, can be
built this way, and I've found the extra typechecking provided by C++
compilers helpful in catching errors.
------------------------------------------------------------------------
Machinetype:            Sun Sun Blade 100 (UltraSPARC IIi 650 MHz); Solaris 2.9
Configure environment:  CC=cc CFLAGS="-xc99" CXX=CC LDFLAGS=-R/usr/local/lib 

Running environments.test
UNRESOLVED: environments.test: leaf-environments: observe-weak: weak observer 
gets collected
UNRESOLVED: environments.test: leaf-environment based eval-environments: 
observe-weak: weak observer gets collected
Running syncase.test
FAIL: syncase.test: (ice-9 syncase) loads
/local/build4/guile-1.6.4/test-suite/tests/syncase.test:32:1: In expression 
(define-syntax plus (syntax-rules () #)):
/local/build4/guile-1.6.4/test-suite/tests/syncase.test:32:1: Unbound variable: 
define-syntax
FAIL: check-guile
===================
1 of 1 tests failed
===================

[Unlike other builds, this didn't complete the tests and give a final
success/failure summary.]
------------------------------------------------------------------------
Machinetype:            Sun Ultra Enterprise 5500 (4 CPUs);     Solaris 2.8
Remote gcc version:     gcc (GCC) 3.2.2
Remote g++ version:     g++ (GCC) 3.2.2
Configure environment:  CC=gcc CXX=g++ LDFLAGS=-R/usr/local/lib 

/bin/bash ../libtool --mode=link gcc  -g -O2 -Wall -Wmissing-prototypes  
-R/usr/local/lib -o libguile-ltdl.la -rpath /usr/local/lib -version-info 1:0:0 
-export-dynamic -no-undefined guile-ltdl.lo -ldl -lcrypt -lsocket -lnsl -lm 
rm -fr .libs/libguile-ltdl.la .libs/libguile-ltdl.* .libs/libguile-ltdl.*
/usr/ccs/bin/ld -G -z defs -h libguile-ltdl.so.1 -o 
.libs/libguile-ltdl.so.1.0.0  guile-ltdl.lo  -R/usr/local/lib  -ldl -lcrypt 
-lsocket -lnsl -lm -lc 
Undefined                       first referenced
 symbol                             in file
__eprintf                           guile-ltdl.lo
ld: fatal: Symbol referencing errors. No output written to 
.libs/libguile-ltdl.so.1.0.0

------------------------------------------------------------------------

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 581 4148                  -
- University of Utah                    Internet e-mail: address@hidden  -
- Department of Mathematics, 110 LCB        address@hidden  address@hidden -
- 155 S 1400 E RM 233                       address@hidden                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------




reply via email to

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