guile-user
[Top][All Lists]
Advanced

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

Guile 1.8.2 Compile Error


From: ericbambach1
Subject: Guile 1.8.2 Compile Error
Date: Thu, 13 Sep 2007 10:26:10 -0500

Hello,
        Please CC Im not subscribed.

        When compiling on AIX 5.3 using IBM's supplied GCC 4.0.0 I get 
this error.
-------snip-----
 gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -D_THREAD_SAFE 
-I/sys/usr/local/include -Wall -Wmissing-prototypes -Werror -MT 
libguile_la-discouraged.lo -MD -MP -MF .deps/libguile_la-discouraged.Tpo 
-c discouraged.c  -DPIC -o .libs/libguile_la-discouraged.o
In file included from ../libguile/gc.h:27,
                 from ../libguile.h:73,
                 from discouraged.c:22:
../libguile/hooks.h:43: error: parse error before '.' token
../libguile/hooks.h:63: error: parse error before '.' token
../libguile/hooks.h:67: error: parse error before '.' token
make: The error code from the last command is 1.
-------snip-----

However, the only '.' token is in the comments!

I tried seeing what the preprocessor thinks of the file, but I couldnt 
tell much from that either.

Any ideas? Please tell me it's fiaxable or theres a workaround as 
upgrading the compiler is not an option yet. I need guile so I can run the 
testsuite on a new compiler. AIX has all sorts of weird issues so I can't 
user a compiler I cant test.


address@hidden:/sys/usr/src/guile-1.8.2> gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld 
--disable-nls --enable-languages=c,c++ --prefix=/opt/freeware 
--enable-threads --enable-version-specific-runtime-libs 
--host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.0.0
address@hidden:/sys/usr/src/guile-1.8.2> uname -a
AIX hostname 3 5 00C9D68A4C00
address@hidden:/sys/usr/src/guile-1.8.2> echo $CFLAGS
-I/sys/usr/local/include
address@hidden:/sys/usr/src/guile-1.8.2> echo $LDFLAGS
-L/sys/usr/local/lib
address@hidden:/sys/usr/src/guile-1.8.2> echo nice ./configure --prefix=/sy>
nice ./configure --prefix=/sys/usr/local/graft-packages/guile-1.8.2
address@hidden:/sys/usr/src/guile-1.8.2>





reply via email to

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