[Pdns-users] Solaris 64-bit install - 32 bit ELF Class
Laurence Brockman
laurence.brockman at sjrb.ca
Wed Aug 10 16:40:26 UTC 2005
I'm trying to compile on Solaris 5.9
System = SunOS
Release = 5.9
Machine = sun4u
And I'm getting the following error when I try and run make... Any ideas?
bash-2.05$ make
make all-recursive
make[1]: Entering directory `/opt/home/lbrockma/pdns-2.9.18'
Making all in modules
make[2]: Entering directory `/opt/home/lbrockma/pdns-2.9.18/modules'
Making all in gmysqlbackend
make[3]: Entering directory
`/opt/home/lbrockma/pdns-2.9.18/modules/gmysqlbackend'
/bin/bash ../../libtool --tag=CXX --mode=link g++ -D_REENTRANT -Wall -O2
-L/usr/local/mysql/lib -m64 -o libgmysqlbackend.la -rpath
/usr/local/powerdns/lib -module -lmysqlclient gmysqlbackend.lo smysql.lo
-lposix4 -lresolv -lnsl -lsocket -lpthread -lz
g++ -shared -nostdlib -L/usr/local/mysql/lib -m64
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9/crti.o
/usr/ccs/lib/sparcv9/values-Xa.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9/crtbegin.o
.libs/gmysqlbackend.o .libs/smysql.o -Wl,-R -Wl,/usr/local/lib -Wl,-R
-Wl,/usr/local/lib -L/usr/local/lib -L/usr2/SOURCES/S9/gcc-3.4.2/objdir/gcc
-L/usr2/SOURCES/S9/gcc-3.4.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src/.l
ibs
-L/usr2/SOURCES/S9/gcc-3.4.2/objdir/sparc-sun-solaris2.9/libstdc++-v3/src
-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lresolv -lnsl -lsocket
-lpthread -lz -L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9
-L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2 -L/usr/ccs/bin/sparcv9
-L/usr/ccs/bin -L/usr/ccs/lib/sparcv9 -L/usr/ccs/lib
-L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../../sparcv9
-L/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/../../.. -L/lib/sparcv9
-L/usr/lib/sparcv9 /usr/local/lib/libstdc++.so -lm -lgcc_s_sparcv9
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9/crtend.o
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/sparcv9/crtn.o -m64 -Wl,-h
-Wl,libgmysqlbackend.so.0 -o .libs/libgmysqlbackend.so.0.0.0
ld: fatal: file .libs/gmysqlbackend.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to
.libs/libgmysqlbackend.so.0.0.0
collect2: ld returned 1 exit status
make[3]: *** [libgmysqlbackend.la] Error 1
make[3]: Leaving directory
`/opt/home/lbrockma/pdns-2.9.18/modules/gmysqlbackend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/home/lbrockma/pdns-2.9.18/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/home/lbrockma/pdns-2.9.18'
make: *** [all] Error 2
Laurence Brockman
Server Specialist
Shaw Operations Centre
Shaw Communications Inc.
laurence.brockman at sjrb.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20050810/45239798/attachment.html>
More information about the Pdns-users
mailing list