Date: Fri, 4 Jan 2013 11:23:07 +0100 From: nemysis <nemysis@gmx.ch> To: freebsd-ports@freebsd.org Subject: FreeBSD Port games/vamos version 0.7.1 not compile Message-ID: <20130104112307.7e361d30@nemysis3now.no-ip.biz>
next in thread | raw e-mail | index | archive | help
Hello, I have tried to build Vamos 0.7.1 http://downloads.sourceforge.net/project/vamos/vamos/vamos-0.7.1.tar.gz And have get some weird issues, something in C++ code is bad With BSD make port test ... /bin/sh /usr/local/bin/libtool --mode=link c++ -Wall -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -pthread -o libvamos-geometry.la -rpath /var/tmp/ports/vamos-0.7.1/lib Calculations.lo Inertia_Tensor.lo Interpolator.lo Linear_Interpolator.lo Material.lo PID.lo Rectangle.lo Spline.lo Three_Matrix.lo Three_Vector.lo Two_Vector.lo Parameter.lo libtool: link: c++ -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/Calculations.o .libs/Inertia_Tensor.o .libs/Interpolator.o .libs/Linear_Interpolator.o .libs/Material.o .libs/PID.o .libs/Rectangle.o .libs/Spline.o .libs/Three_Matrix.o .libs/Three_Vector.o .libs/Two_Vector.o .libs/Parameter.o -L/usr/local/lib -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o -O2 -pthread -pthread -Wl,-soname -Wl,libvamos-geometry.so.0 -o .libs/libvamos-geometry.so.0 libtool: link: (cd ".libs" && rm -f "libvamos-geometry.so" && ln -s "libvamos-geometry.so.0" "libvamos-geometry.so") libtool: link: (cd ".libs" && rm -f "libvamos-geometry.so" && ln -s "libvamos-geometry.so.0" "libvamos-geometry.so") libtool: link: ar cru .libs/libvamos-geometry.a Calculations.o Inertia_Tensor.o Interpolator.o Linear_Interpolator.o Material.o PID.o Rectangle.o Spline.o Three_Matrix.o Three_Vector.o Two_Vector.o Parameter.o libtool: link: ranlib .libs/libvamos-geometry.a libtool: link: ( cd ".libs" && rm -f "libvamos-geometry.la" && ln -s "../libvamos-geometry.la" "libvamos-geometry.la" ) /bin/sh /usr/local/bin/libtool --mode=link c++ -Wall -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -pthread -o test_Calculations test_Calculations.o Calculations.lo Three_Vector.lo Three_Matrix.lo -lboost_unit_test_framework libtool: link: c++ -Wall -O2 -pipe -fno-strict-aliasing -pthread -o test_Calculations test_Calculations.o .libs/Calculations.o .libs/Three_Vector.o .libs/Three_Matrix.o -L/usr/local/lib -lboost_unit_test_framework -pthread mv -f .deps/test_Rectangle.Tpo .deps/test_Rectangle.Po /bin/sh /usr/local/bin/libtool --mode=link c++ -Wall -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -pthread -o test_Circular_Buffer test_Circular_Buffer.o -lboost_unit_test_framework /usr/lib/crt1.o: In function `_start': crt1.c:(.text+0x8a): undefined reference to `main' libtool: link: c++ -Wall -O2 -pipe -fno-strict-aliasing -pthread -o test_Circular_Buffer test_Circular_Buffer.o -L/usr/local/lib -lboost_unit_test_framework -pthread *** Error code 1 /usr/lib/crt1.o: In function `_start': crt1.c:(.text+0x8a): undefined reference to `main' *** Error code 1 mv -f .deps/test_Three_Matrix.Tpo .deps/test_Three_Matrix.Po mv -f .deps/test_Two_Vector.Tpo .deps/test_Two_Vector.Po mv -f .deps/test_Spline.Tpo .deps/test_Spline.Po mv -f .deps/test_Three_Vector.Tpo .deps/test_Three_Vector.Po 2 errors *** Error code 1 1 error *** Error code 1 Wtih Gnu Make USE_GMAKE= yes port test ... /bin/sh /usr/local/bin/libtool --mode=link c++ -Wall -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -pthread -o libvamos-geometry.la -rpath /var/tmp/ports/vamos-0.7.1/lib Calculations.lo Inertia_Tensor.lo Interpolator.lo Linear_Interpolator.lo Material.lo PID.lo Rectangle.lo Spline.lo Three_Matrix.lo Three_Vector.lo Two_Vector.lo Parameter.lo libtool: link: c++ -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/Calculations.o .libs/Inertia_Tensor.o .libs/Interpolator.o .libs/Linear_Interpolator.o .libs/Material.o .libs/PID.o .libs/Rectangle.o .libs/Spline.o .libs/Three_Matrix.o .libs/Three_Vector.o .libs/Two_Vector.o .libs/Parameter.o -L/usr/local/lib -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o -O2 -pthread -pthread -Wl,-soname -Wl,libvamos-geometry.so.0 -o .libs/libvamos-geometry.so.0 libtool: link: (cd ".libs" && rm -f "libvamos-geometry.so" && ln -s "libvamos-geometry.so.0" "libvamos-geometry.so") libtool: link: (cd ".libs" && rm -f "libvamos-geometry.so" && ln -s "libvamos-geometry.so.0" "libvamos-geometry.so") libtool: link: ar cru .libs/libvamos-geometry.a Calculations.o Inertia_Tensor.o Interpolator.o Linear_Interpolator.o Material.o PID.o Rectangle.o Spline.o Three_Matrix.o Three_Vector.o Two_Vector.o Parameter.o libtool: link: ranlib .libs/libvamos-geometry.a libtool: link: ( cd ".libs" && rm -f "libvamos-geometry.la" && ln -s "../libvamos-geometry.la" "libvamos-geometry.la" ) /bin/sh /usr/local/bin/libtool --mode=link c++ -Wall -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -pthread -o test_Calculations test_Calculations.o Calculations.lo Three_Vector.lo Three_Matrix.lo -lboost_unit_test_framework libtool: link: c++ -Wall -O2 -pipe -fno-strict-aliasing -pthread -o test_Calculations test_Calculations.o .libs/Calculations.o .libs/Three_Vector.o .libs/Three_Matrix.o -L/usr/local/lib -lboost_unit_test_framework -pthread mv -f .deps/test_Rectangle.Tpo .deps/test_Rectangle.Po /bin/sh /usr/local/bin/libtool --mode=link c++ -Wall -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -pthread -o test_Circular_Buffer test_Circular_Buffer.o -lboost_unit_test_framework /usr/lib/crt1.o: In function `_start': crt1.c:(.text+0x8a): undefined reference to `main' libtool: link: c++ -Wall -O2 -pipe -fno-strict-aliasing -pthread -o test_Circular_Buffer test_Circular_Buffer.o -L/usr/local/lib -lboost_unit_test_framework -pthread *** Error code 1 /usr/lib/crt1.o: In function `_start': crt1.c:(.text+0x8a): undefined reference to `main' *** Error code 1 mv -f .deps/test_Three_Matrix.Tpo .deps/test_Three_Matrix.Po mv -f .deps/test_Two_Vector.Tpo .deps/test_Two_Vector.Po mv -f .deps/test_Spline.Tpo .deps/test_Spline.Po mv -f .deps/test_Three_Vector.Tpo .deps/test_Three_Vector.Po 2 errors *** Error code 1 1 error *** Error code 1 With Gnu Make USE_GCC= 4.6+ port test ... g++46 -DPACKAGE_NAME=\"vamos\" -DPACKAGE_TARNAME=\"vamos\" -DPACKAGE_VERSION=\"0.7.1\" -DPACKAGE_STRING=\"vamos\ 0.7.1\" -DPACKAGE_BUGREPORT=\"snick-a-doo@comc ast.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"vamos\" -DVERSION=\"0.7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_ H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBSDL=1 -DHAVE_LIBOPENAL=1 -DHAVE_LIBALUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_LIBPNG=1 -DHAVE_BOOST=/\*\*/ -I. -I/usr/local/include -Wal$ -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc46 -MT test_Calculations.o -MD -MP -MF .deps/test_Calculations.Tp$ -c -o test_Calculations.o test_Calculations.cc libtool: compile: g++46 -DPACKAGE_NAME=\"vamos\" -DPACKAGE_TARNAME=\"vamos\" -DPACKAGE_VERSION=\"0.7.1\" "-DPACKAGE_STRING=\"vamos 0.7.1\"" -DPACKAGE_BUGREPO$T=\"snick-a-doo@comcast.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"vamos\" -DVERSION=\"0.7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL$B_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBSDL=1 -DHAVE_L$BOPENAL=1 -DHAVE_LIBALUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_LIBPNG=1 "-DHAVE_BOOST=/**/" -I. -I/usr/l$cal/include -Wall -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc46 -MT Three_Matrix.lo -MD -MP -MF .deps/Three_M$trix.Tpo -c Three_Matrix.cc -o Three_Matrix.o >/dev/null 2>&1 libtool: compile: g++46 -DPACKAGE_NAME=\"vamos\" -DPACKAGE_TARNAME=\"vamos\" -DPACKAGE_VERSION=\"0.7.1\" "-DPACKAGE_STRING=\"vamos 0.7.1\"" -DPACKAGE_BUGREPO$T=\"snick-a-doo@comcast.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"vamos\" -DVERSION=\"0.7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL$B_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBSDL=1 -DHAVE_L$BOPENAL=1 -DHAVE_LIBALUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_LIBPNG=1 "-DHAVE_BOOST=/**/" -I. -I/usr/l$cal/include -Wall -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc46 -MT Parameter.lo -MD -MP -MF .deps/Parameter.$po -c Parameter.cc -fPIC -DPIC -o .libs/Parameter.o In file included from Parameter.cc:20:0: Parameter.h:38:24: error: 'size_t' has not been declared Parameter.cc:27:17: error: 'double Vamos_Geometry::Parameter::get' is not a static member of 'class Vamos_Geometry::Parameter' Parameter.cc:27:17: error: 'size_t' was not declared in this scope Parameter.cc:27:17: note: suggested alternatives: /usr/local/lib/gcc46/include/c++//x86_64-portbld-freebsd9.0/bits/c++config.h:155:26: note: 'std::size_t' /usr/local/lib/gcc46/include/c++//x86_64-portbld-freebsd9.0/bits/c++config.h:155:26: note: 'std::size_t' Parameter.cc:27:27: error: expected primary-expression before 'double' Parameter.cc:27:42: error: expression list treated as compound expression in initializer [-fpermissive] Parameter.cc:28:1: error: expected ',' or ';' before '{' token *** Error code 1 mv -f .deps/Two_Vector.Tpo .deps/Two_Vector.Plo libtool: compile: g++46 -DPACKAGE_NAME=\"vamos\" -DPACKAGE_TARNAME=\"vamos\" -DPACKAGE_VERSION=\"0.7.1\" "-DPACKAGE_STRING=\"vamos 0.7.1\"" -DPACKAGE_BUGREPO$T=\"snick-a-doo@comcast.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"vamos\" -DVERSION=\"0.7.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL$B_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBSDL=1 -DHAVE_L$BOPENAL=1 -DHAVE_LIBALUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_LIBPNG=1 "-DHAVE_BOOST=/**/" -I. -I/usr/l$cal/include -Wall -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc46 -MT Spline.lo -MD -MP -MF .deps/Spline.Tpo -c Spline.cc -o Spline.o >/dev/null 2>&1 mv -f .deps/Three_Vector.Tpo .deps/Three_Vector.Plo mv -f .deps/Three_Matrix.Tpo .deps/Three_Matrix.Plo mv -f .deps/Spline.Tpo .deps/Spline.Plo mv -f .deps/test_Calculations.Tpo .deps/test_Calculations.Po 1 error *** Error code 1 1 error *** Error code 1 Because this have set in ports/174951, have tried several times to build 0.7.1 PORTSCOUT= skipv:0.7.1 Version 0.7.0 works good with BSD Make also use it Have sent email to developer. but mine email have seen Comcast as SPAM and blocked mine IP Address :( Thanks, nemysis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130104112307.7e361d30>