[Pdns-users] PDNS 2.9.21 - Solaris 5.11 Compile Issue

Nicholas Orr pdns-users at zxgen.net
Tue Oct 9 03:42:16 UTC 2007


Hi,

I don't really know how to compile anything. If I follow instructions and it
doesn't work, I'm stuck...

I'm stuck now, I followed this:

http://blogs.digitar.com/jjww/?itemid=45

>From what I can tell it looks like the recursor is trying to be compiled.

Please help :)

Nick


+++++++++++++++ START +++++++++++++++
 make install
Making install in modules
Making install in gmysqlbackend
if /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  -I.
-I. -I../.. -I/opt/csw/mysql5/include//mysql     -pthread -I/opt/csw/include
-DSOLARIS -Wall -O2 -MT gmysqlbackend.lo -MD -MP -MF
".deps/gmysqlbackend.Tpo" -c -o gmysqlbackend.lo gmysqlbackend.cc; \
then mv -f ".deps/gmysqlbackend.Tpo" ".deps/gmysqlbackend.Plo"; else rm -f
".deps/gmysqlbackend.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/mysql5/include//mysql
-pthread -I/opt/csw/include -DSOLARIS -Wall -O2 -MT gmysqlbackend.lo -MD -MP
-MF .deps/gmysqlbackend.Tpo -c gmysqlbackend.cc  -fPIC -DPIC -o
.libs/gmysqlbackend.o
g++: unrecognized option `-pthread'
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/mysql5/include//mysql
-pthread -I/opt/csw/include -DSOLARIS -Wall -O2 -MT gmysqlbackend.lo -MD -MP
-MF .deps/gmysqlbackend.Tpo -c gmysqlbackend.cc  -fPIC -DPIC -o
gmysqlbackend.o >/dev/null 2>&1
if /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  -I.
-I. -I../.. -I/opt/csw/mysql5/include//mysql     -pthread -I/opt/csw/include
-DSOLARIS -Wall -O2 -MT smysql.lo -MD -MP -MF ".deps/smysql.Tpo" -c -o
smysql.lo smysql.cc; \
then mv -f ".deps/smysql.Tpo" ".deps/smysql.Plo"; else rm -f
".deps/smysql.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/mysql5/include//mysql
-pthread -I/opt/csw/include -DSOLARIS -Wall -O2 -MT smysql.lo -MD -MP -MF
.deps/smysql.Tpo -c smysql.cc  -fPIC -DPIC -o .libs/smysql.o
g++: unrecognized option `-pthread'
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/mysql5/include//mysql
-pthread -I/opt/csw/include -DSOLARIS -Wall -O2 -MT smysql.lo -MD -MP -MF
.deps/smysql.Tpo -c smysql.cc  -fPIC -DPIC -o smysql.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CXX --mode=link g++   -pthread
-I/opt/csw/include -DSOLARIS -Wall -O2  -L/opt/csw/mysql5/lib/mysql -pthread
-L/opt/csw/lib -lsocket -lnsl -o libgmysqlbackend.la -rpath /usr/local/lib
-module -lmysqlclient gmysqlbackend.lo smysql.lo  -lz
g++ -shared -nostdlib  /usr/sfw/lib/gcc/sparc-sun-solaris2.11/3.4.3/crti.o
/usr/ccs/lib/values- Xa.o
/usr/sfw/lib/gcc/sparc-sun-solaris2.11/3.4.3/crtbegin.o
.libs/gmysqlbackend.o .libs/smysql.o  -Wl,-R -Wl,/opt/csw/mysql5/lib/mysql
-Wl,-R -Wl,/usr/sfw/lib -Wl,-R -Wl,/opt/csw/mysql5/lib/mysql -Wl,-R
-Wl,/usr/sfw/lib -L/opt/csw/mysql5/lib/mysql -L/opt/csw/lib -lsocket -lnsl
/opt/csw/mysql5/lib/mysql/libmysqlclient.so -L/opt/csw/lib/32 -lz
-L/usr/sfw/lib/gcc/sparc- sun-solaris2.11/3.4.3 -L/usr/sfw/lib/gcc/sparc-
sun-solaris2.11/3.4.3/../../../../sparc-sun-solaris2.11/lib -L/usr/ccs/lib
-L/usr/sfw/lib/gcc/sparc-sun-solaris2.11/3.4.3/../../..
/usr/sfw/lib/libstdc++.so -L/usr/sfw/lib -lm -lgcc_s /usr/sfw/lib/gcc/sparc-
sun-solaris2.11/3.4.3/crtend.o
/usr/sfw/lib/gcc/sparc-sun-solaris2.11/3.4.3/crtn.o
-pthread -pthread -Wl,-h -Wl,libgmysqlbackend.so.0 -o
.libs/libgmysqlbackend.so.0.0.0
g++: unrecognized option `-pthread'
g++: unrecognized option `-pthread'
(cd .libs && rm -f libgmysqlbackend.so.0 && ln -s libgmysqlbackend.so.0.0.0
libgmysqlbackend.so.0)
(cd .libs && rm -f libgmysqlbackend.so && ln -s libgmysqlbackend.so.0.0.0
libgmysqlbackend.so )
false cru .libs/libgmysqlbackend.a  gmysqlbackend.o smysql.o
*** Error code 1
make: Fatal error: Command failed for target `libgmysqlbackend.la'
Current working directory /root/pdns-2.9.21/modules/gmysqlbackend
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='gmysqlbackend geobackend pipebackend'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `install-recursive'
Current working directory /root/pdns-2.9.21/modules
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='modules codedocs pdns'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `install-recursive'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20071009/ad81ab35/attachment.html>


More information about the Pdns-users mailing list