From: <gj...@fh...> - 2004-12-30 07:56:08
|
i just tried to compile that on x86_64 aka amd64 (out of pure couriosity) and i'm getting the usual error "recompile using -fPIC" i'm not sure if amd64 is meant to be supported at all, but it would be nice anyways so, what about checking if the arch is x86_64 and adding a -fPIC option and take a look if the compile and testrun goes well? in case you have further questions i'm on #pclasses at like 19:00 CET i guess if you don't have access to a amd64 box, we can talk about that issue, too :) // gjehle here's a list of the make output: ---- make begin ---- Generating rules for INSTALL_XXX. Making all in AT make[1]: Entering directory `/home/gjehle/src/pclasses2-2.0.dev/AT' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/gjehle/src/pclasses2-2.0.dev/AT' Making all in include make[1]: Entering directory `/home/gjehle/src/pclasses2-2.0.dev/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/gjehle/src/pclasses2-2.0.dev/include' Making all in m4 make[1]: Entering directory `/home/gjehle/src/pclasses2-2.0.dev/m4' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/gjehle/src/pclasses2-2.0.dev/m4' Making all in src make[1]: Entering directory `/home/gjehle/src/pclasses2-2.0.dev/src' Generating STATIC_LIBS rules. Generating SHARED_LIBS rules. Generating C_DEPS rules for *.cpp *.c *.c++ *.C *.cc *.moc make[1]: Leaving directory `/home/gjehle/src/pclasses2-2.0.dev/src' make[1]: Entering directory `/home/gjehle/src/pclasses2-2.0.dev/src' g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o Alloc.o Alloc.cpp g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o AtomicInt.gcc-x86.o AtomicInt.gcc-x86.cpp g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o ByteOrderTraits.o ByteOrderTraits.cpp g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o Date.o Date.cpp g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o DateTime.o DateTime.cpp g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o Exception.o Exception.cpp g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o LinkedItem.o LinkedItem.cpp g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o Time.o Time.cpp g++ -pipe -I. -I../include -O2 -DNDEBUG=1 -c -o TimeSpan.o TimeSpan.cpp ar crs libpclasses_core.a Alloc.o AtomicInt.gcc-x86.o ByteOrderTraits.o Date.o DateTime.o Exception.o LinkedItem.o Time.o TimeSpan.o ; g++ -pipe -o libpclasses_core.so.2.0.dev -rdynamic -shared -Wl,-soname,libpclasses_core.so.2 Alloc.o AtomicInt.gcc-x86.o ByteOrderTraits.o Date.o DateTime.o Exception.o LinkedItem.o Time.o TimeSpan.o /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: Alloc.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC Alloc.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libpclasses_core.so] Error 1 make[1]: Leaving directory `/home/gjehle/src/pclasses2-2.0.dev/src' make: *** [subdirs-all] Error 2 ---- make end ---- Zitat von stephan beal <st...@s1...>: > FYI: i don't know if the AT dist tarball is working, but the toc-based > one is essentially working now... > > If you want to try it out without touching your CVS tree, here's a > tarball: > > i'm going to break up this URL so that crawlers reading the mail > archives don't download it: > > http://s11n.net <BREAK> > /tmp <BREAK> > /pclasses2-2.0.dev.tar.bz2 > > size == 485kb > > Caveats: > > - Only works on posix platforms at the moment, and only tested on Linux. > > - install "almost" works - got a minor bug or two to fix. > > > i think that's about it. > > -- > ----- st...@s1... http://s11n.net > "...pleasure is a grace and is not obedient to the commands > of the will." -- Alan W. Watts > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > pclasses-devel mailing list > pcl...@li... > https://lists.sourceforge.net/lists/listinfo/pclasses-devel > |