[racket-dev] build fail for 64-bit OS X af9bab74265

From: John Clements (clements at brinckerhoff.org)
Date: Mon Feb 13 20:02:20 EST 2012

After axing and re-creating the src directory, I get this error while building racket on 64-bit Lion:

a - src/rational.o
a - src/read.o
a - src/regexp.o
a - src/resolve.o
a - src/salloc.o
a - src/sema.o
a - src/setjmpup.o
a - src/sfs.o
a - src/string.o
a - src/struct.o
a - src/symbol.o
a - src/syntax.o
a - src/thread.o
a - src/type.o
a - src/unwind.o
a - src/validate.o
a - src/vector.o
a - ../foreign/foreign.o
ranlib libracket.a
ranlib: file: libracket.a(unwind.o) has no symbols
make racketcgc 
mkdir -p  Racket.framework/Versions/5.2.1.5
gcc -o Racket.framework/Versions/5.2.1.5/Racket  -pthread -framework CoreFoundation -dynamiclib -all_load  libracket.a libmzgc.a -ldl -lm  -liconv -L/opt/local/lib -lffi   
Undefined symbols for architecture x86_64:
 "_iconv_close", referenced from:
     _close_converter in libracket.a(string.o)
     _scheme_close_converter in libracket.a(string.o)
     _do_convert in libracket.a(string.o)
     _byte_string_close_converter in libracket.a(string.o)
     _string_to_from_locale in libracket.a(string.o)
 "_iconv_open", referenced from:
     _do_convert in libracket.a(string.o)
     _string_to_from_locale in libracket.a(string.o)
     _scheme_open_converter in libracket.a(string.o)
 "_iconv", referenced from:
     _do_convert in libracket.a(string.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[4]: *** [Racket.framework/Versions/5.2.1.5/Racket] Error 1
make[3]: *** [cgc] Error 2
make[2]: *** [3m] Error 2
make[1]: *** [3m] Error 2
make: *** [all] Error 2
device:~/plt/src/build clements$

I conjecture that this is related to commit af927734079e823c566b0791ae440d8a6722b7d6 ?

John		
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120213/1e800a42/attachment.p7s>

Posted on the dev mailing list.