We've made some repairs in that area since 5.1.2, but I don't know if we've solved the problem that you're seeing. Which version of gcc are you using?
At Fri, 12 Aug 2011 03:01:54 -0300, Rodolfo Carvalho wrote: > Hello, > > I was trying to compile Racket Textual from source in a Webfaction's shared > host machine. It's running CentOS 5.6. > > After downloading and extracting the tarball, cd racket-textual-5.1.2/src/; > mkdir build; cd build; ../configure; make: > > --------------------------------------------------- > [...lots of things...] > > ar: creating ../libracket3m.a > a - salloc.o > a - bignum.o > [...] > a - validate.o > a - vector.o > a - foreign.o > a - ../src/gmp.o > a - ../src/unwind.o > a - ../../foreign/libffi/src/closures.o > a - ../../foreign/libffi/src/debug.o > a - ../../foreign/libffi/src/java_raw_api.o > a - ../../foreign/libffi/src/prep_cif.o > a - ../../foreign/libffi/src/raw_api.o > a - ../../foreign/libffi/src/types.o > a - ../../foreign/libffi/src/x86/ffi.o > a - ../../foreign/libffi/src/x86/sysv.o > a - gc2.o > ranlib ../libracket3m.a > cd ..; gcc -o racket3m gc2/main.o libracket3m.a -pthread -ldl -lm -ldl > -lm -rdynamic > libracket3m.a(symbol.o): In function `mzrt_cas': > /home/rodolfo/racket-textual-5.1.2/src/build/racket/gc2/../../../racket/gc2/../s > rc/mzrt.h:132: > undefined reference to `__sync_bool_compare_and_swap_4' > collect2: ld returned 1 exit status > make[4]: *** [../racket3m] Error 1 > make[4]: Leaving directory > `/home/rodolfo/racket-textual-5.1.2/src/build/racket/gc2' > make[3]: *** [all] Error 2 > make[3]: Leaving directory > `/home/rodolfo/racket-textual-5.1.2/src/build/racket/gc2' > make[2]: *** [3m] Error 2 > make[2]: Leaving directory > `/home/rodolfo/racket-textual-5.1.2/src/build/racket' > make[1]: *** [3m] Error 2 > make[1]: Leaving directory `/home/rodolfo/racket-textual-5.1.2/src/build' > make: *** [all] Error 2 > > --------------------------------------------------- > > > I tried three times and consistently got the same error. Then I decided to > try 5.1.1, and I was able to compile with no errors. > > Could it be the case that something is wrong > with racket-textual-5.1.2-src-unix.tgz? > (the "/mzrt.h:132: undefined reference to `__sync_bool_compare_and_swap_4'" > part) > > > []'s > > Rodolfo Carvalho > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users