Re: [ooc-compiler] compile error on Xubuntu
Brought to you by:
mva
|
From: Stewart G. <sgr...@ii...> - 2010-08-04 01:06:55
|
Hi Duke, I checked this out, and it looks like the problem is related to the GC version. The API seems to have changed slightly in the 7.X series and some of the functions OOC expects have been removed or renamed. If you use GC 6.8 it should work fine. BTW, this is also the "default" version you get if you download gc.tar.gz. Cheers, Stewart Duke Normandin wrote: > Hi.... > > I've been booted off my wife's OSX machine ;D and am now in the > process of getting comfortable on my Xubuntu installation. > > I'm trying to install oo2c_32-2.1.11. I got `gc' installed with no > (apparent) problems. oo2c `configure' did not choke on anything! > However, when I ran `make', a hairball got in the way: > > gcc -g -O2 -Ilib/src -I./obj -I./lib/obj -c ./lib/obj/Object.c -o ./lib/obj/Object.o > gcc -g -O2 -Ilib/src -I./obj -I./lib/obj -c ./lib/obj/Object/BigInt.c -o ./lib/obj/Object/BigInt.o > gcc -g -O2 -Ilib/src -I./obj -I./lib/obj -c ./lib/obj/Object/Boxed.c -o ./lib/obj/Object/Boxed.o > gcc -g -O2 -Ilib/src -I./obj -I./lib/obj -c ./lib/obj/Out.c -o ./lib/obj/Out.o > gcc -g -O2 -Ilib/src -I./obj -I./lib/obj -c ./lib/src/PosixFileDescr.c -o ./lib/obj/PosixFileDescr.o > gcc -g -O2 -Ilib/src -I./obj -I./lib/obj -c ./lib/obj/ProgramArgs.c -o ./lib/obj/ProgramArgs.o > gcc -g -O2 -Ilib/src -I./obj -I./lib/obj -c ./lib/src/RT0.c -o ./lib/obj/RT0.o > ./lib/src/RT0.c:86: error: expected ')' before 'ptr' > ./lib/src/RT0.c: In function 'RT0__NewObject': > ./lib/src/RT0.c:130: error: 'HandleFinalize' undeclared (first use in this function) > ./lib/src/RT0.c:130: error: (Each undeclared identifier is reported only once > ./lib/src/RT0.c:130: error: for each function it appears in.) > ./lib/src/RT0.c:130: error: 'GC_PTR' undeclared (first use in this function) > ./lib/src/RT0.c:130: error: expected expression before ')' token > make[1]: *** [lib/obj/RT0.o] Error 1 > make[1]: Leaving directory `/home/dnormandin/Programming/Oberon/oo2c_32-2.1.11/stage0' > make: *** [stage0/oo2c] Error 2 > dnormandin@select-man:~/Programming/Oberon/oo2c_32-2.1.11$ > > Would one of you bright C programmers lurking this list be able to > suggest a solution? Is this a `libtool' issue? TIA! |