Hello,<div><br></div><div>I was trying to compile Racket Textual from source in a Webfaction's shared host machine. It's running CentOS 5.6.</div><div><br></div><div>After downloading and extracting the tarball, cd racket-textual-5.1.2/src/; mkdir build; cd build; ../configure; make:</div>
<div><br></div><div>---------------------------------------------------</div><div>[...lots of things...]</div><div><br></div><div><div>ar: creating ../libracket3m.a</div><div>a - salloc.o</div><div>a - bignum.o</div><div>
[...]</div><div>a - validate.o</div><div>a - vector.o</div><div>a - foreign.o</div><div>a - ../src/gmp.o</div><div>a - ../src/unwind.o</div><div>a - ../../foreign/libffi/src/closures.o</div><div>a - ../../foreign/libffi/src/debug.o</div>
<div>a - ../../foreign/libffi/src/java_raw_api.o</div><div>a - ../../foreign/libffi/src/prep_cif.o</div><div>a - ../../foreign/libffi/src/raw_api.o</div><div>a - ../../foreign/libffi/src/types.o</div><div>a - ../../foreign/libffi/src/x86/ffi.o</div>
<div>a - ../../foreign/libffi/src/x86/sysv.o</div><div>a - gc2.o</div><div>ranlib ../libracket3m.a</div><div>cd ..; gcc -o racket3m gc2/main.o libracket3m.a -pthread -ldl -lm -ldl -lm -rdynamic</div><div>libracket3m.a(symbol.o): In function `mzrt_cas':</div>
<div>/home/rodolfo/racket-textual-5.1.2/src/build/racket/gc2/../../../racket/gc2/../src/mzrt.h:132: undefined reference to `__sync_bool_compare_and_swap_4'</div><div>collect2: ld returned 1 exit status</div><div>make[4]: *** [../racket3m] Error 1</div>
<div>make[4]: Leaving directory `/home/rodolfo/racket-textual-5.1.2/src/build/racket/gc2'</div><div>make[3]: *** [all] Error 2</div><div>make[3]: Leaving directory `/home/rodolfo/racket-textual-5.1.2/src/build/racket/gc2'</div>
<div>make[2]: *** [3m] Error 2</div><div>make[2]: Leaving directory `/home/rodolfo/racket-textual-5.1.2/src/build/racket'</div><div>make[1]: *** [3m] Error 2</div><div>make[1]: Leaving directory `/home/rodolfo/racket-textual-5.1.2/src/build'</div>
<div>make: *** [all] Error 2</div></div><div><br></div><div>---------------------------------------------------</div><div><br></div><div><br></div><div>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.</div>
<div><br></div><div>Could it be the case that something is wrong with racket-textual-5.1.2-src-unix.tgz?</div><div>(the "/mzrt.h:132: undefined reference to `__sync_bool_compare_and_swap_4'" part)</div><div>
<br></div><div><br></div><div>[]'s</div><div><br clear="all">Rodolfo Carvalho<br>
</div>