Compilation problem on 64bit OS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm getting the following error when compiling a program on a 64bit
OS, I'm at a a loss as to what it can be I've tried looking it up but
to no avail, can someone please enlighten me with what is going on?

The error I have:

/opt/source/src/Makefile:112: warning: ignoring old commands for target `clean'
/usr//bin/g++ -shared -o /opt/source/src/target/obj_dbg/libpugi.so
-L/opt/source/src/target/obj_dbg -static -ltds_objects -static
-lreplacements   /opt/source/src/target/obj_dbg/pugixml.o
/opt/source/src/target/obj_dbg/pugixpath.o
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/crtbeginT.o: relocation
R_X86_64_32 against `__deregister_frame_info' can not be used when
making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/crtbeginT.o: could not read
symbols: Bad value
collect2: ld returned 1 exit status
make: *** [/opt/source/src/target/obj_dbg/libpugi.so] Error 1

It's almost as though it is saying that one of the libraries needs to
be compiled as a 64 bit library when it already is:

file /usr/lib64/gcc/x86_64-suse-linux/4.1.2/crtbeginT.o
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/crtbeginT.o: ELF 64-bit LSB
relocatable, x86-64, version 1 (SYSV), not stripped

Any thoughts please.

If you need anything else please let me know.

Thanks in advance
Dan


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux