IoLanguage / io

Io programming language. Inspired by Self, Smalltalk and LISP.
http://iolanguage.org
Other
2.66k stars 298 forks source link

Build Error: could not read symbols: Bad value #62

Closed Lavos closed 14 years ago

Lavos commented 14 years ago

Building from d59075, received the following error:

[ 80%] Built target sgml Scanning dependencies of target IoSGML [ 81%] Building C object addons/SGML/CMakeFiles/IoSGML.dir/source/IoSGMLParser.c.o [ 81%] Building C object addons/SGML/CMakeFiles/IoSGML.dir/source/IoSGMLInit.c.o Linking C shared library _build/dll/libIoSGML.so /usr/bin/ld: _build/dll/libsgml.a(SgmlParser.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC _build/dll/libsgml.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: * [addons/SGML/_build/dll/libIoSGML.so] Error 1 make[1]: * [addons/SGML/CMakeFiles/IoSGML.dir/all] Error 2 make: *\ [all] Error 2

could it be a missing dependency?

system: Linux version 2.6.34-ARCH (tobias@T-POWA-LX) (gcc version 4.5.0 20100610 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Jul 5 22:12:11 CEST 2010

omf commented 14 years ago

Fixed here:

http://github.com/omf/io/tree/sgml

Lavos commented 14 years ago

aye, compile was successful after I applied those changes. Pull request?

Lavos commented 14 years ago

fixed in SHA: 4793d20d608ee5305e04cff81738d9d4a5c0efb1