gm2
[Top][All Lists]
Advanced

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

[Gm2] Build Problem on Mac OS 10.3.


From: john o goyo
Subject: [Gm2] Build Problem on Mac OS 10.3.
Date: Tue, 27 Apr 2004 11:10:12 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Greetings:

An attemp to bulid gm2 using gcc-3.3.2 under Mac OS 10.3. gave me
the following error.  I configured the build as suggested on the
webpage (building only c and gm2).  The build succeeds without gm2.


cd gm2 ; \
../gm2/boot-bin/mklink -s ../../../gcc-3.3.2/gcc/gm2/init/ppginit ; \
gcc -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -c mod_init.c -o mod_init.o ; \
M2PATH=". gm2-libs-boot gm2-compiler-boot" ; export M2PATH ; \
../gm2/boot-bin/mklink -l -p2c p2c/p2c-src/src/libp2c.a ../../../gcc-3.3.2/gcc/gm2/init/ppginit ; \
/bin/sh linkcommand ; \
rm -f linkcommand ; \
mv a.out ppg
ld: archive: p2c/p2c-src/src/libp2c.a has no table of contents, add one with ranlib(1) (can't load from it)


At this point, I invoked ranlib directory on the archive libp2c.a and
remade.  The following error ensued.


cd gm2 ; \
../gm2/boot-bin/mklink -s ../../../gcc-3.3.2/gcc/gm2/init/ppginit ; \
gcc -g -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 -c mod_init.c -o mod_init.o ; \
M2PATH=". gm2-libs-boot gm2-compiler-boot" ; export M2PATH ; \
../gm2/boot-bin/mklink -l -p2c p2c/p2c-src/src/libp2c.a ../../../gcc-3.3.2/gcc/gm2/init/ppginit ; \
/bin/sh linkcommand ; \
rm -f linkcommand ; \
mv a.out ppg
ld: Undefined symbols:
__tolower
__toupper



Sincerely,
john




reply via email to

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