Hello I'm an octave-cygwin and octave-mingw maintainer. Recently a new sybolic package has been released on the octave-forge (octave optional package). On the cygwin the package build was successful but on the mingw it was failed. For the cygwin, the cln-1.1.13 with the gmp 4.2.1 and ginac 1.4.1 have been installed. For the mingw, those are the cln-1.1.10 wihout the gmp and the ginac-1.3.7. The there would be possible, I tried to build the ginac 1.4.1. I have buid the gmp 4.2.2 and the cln-1.1.13 and make check of both tests were successful. So I have tried to make ginaic 1.4.1. At the compling stage, I have a troble in excompiler.cpp for mktemp. The mktemp does not exist for the normal mingw environment. So I partly ported the glibc on the GnuWin32. extern "C"{ char *mktemp (char *__template) ; } was added and link against glibc library. The complipe stage was sucessful. However the link stage there exited a lot of errors. A part of them are placed at the end of this mail. I suspect that my way was wrong. What are the possibilities? Regards ****information The ginac was build under the following flag, export LDFLAGS='-L/mingw/lib -L/usr/local/octave-3.0.0/lib -L/GnuWin32/lib -L/GnuWin32/bin' export CPPFLAGS='-I/mingw/include -I/usr/local/octave-3.0.0/include -I/GnuWin32/include' export CLN_CFLAGS='-IC:/Programs/msys/1.0/local/octave-3.0.0/include' export CLN_LIBS='-LC:/Programs/msys/1.0/local/octave-3.0.0/lib' #export GINAC_CFLAGS='-IC:/Programs/msys/1.0/local/octave-3.0.0/include' #export GINAC_LIBS='-LC:/Programs/msys/1.0/local/octave-3.0.0/lib' export PKG_CONFIG=C:/Programs/MinGW/bin/pkg-config.exe export PKG_CONFIG_PATH=C:/Programs/msys/1.0/local/octave-3.0.0/lib/pkgconfig export LIBS='-lgw32c' The the gmp and the cln headers and libs are installed in /usr/local/octave-3.0.0/include and /usr/local/octave-3.0.0/lib, respectively ./configure --prefix=/usr/local/ginac make The gcc infomation $ gcc -v Reading specs from c:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw special) ********************** ./configure --prefix=/usr/local/ginac checking for a BSD-compatible install... /bin/install -c : checking pkg-config is at least version 0.9.0... yes checking for CLN... yes : config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands Configuration of GiNaC 1.4.1 done. Now type "make". make ************************** : : C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/number.h:46: undefined reference to `cln::gcd(cln::cl_I const&, cln::cl_I const&)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC3gcdERKNS_7numericES2_': C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' ../ginac/.libs/libginac.a(numeric.o):C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: more undefined references to `cln::cl_free_heap_object(cln::cl_heap*)' follow ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC3lcmERKNS_7numericES2_': C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/number.h:46: undefined reference to `cln::lcm(cln::cl_I const&, cln::cl_I const&)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC3lcmERKNS_7numericES2_': C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined refeC:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' ../ginac/.libs/libginac.a(numeric.o):C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: more undefined references to `cln::cl_free_heap_object(cln::cl_heap*)' follow ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC4sqrtERKNS_7numericE': c:/usr/tatsu/msys/octaves/ginac-1.4.1/ginac/numeric.cpp:2379: undefined reference to `cln::sqrt(cln::cl_N const&)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC4sqrtERKNS_7numericE': C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC5isqrtERKNS_7numericE': C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/number.h:46: undefined reference to `cln::isqrt(cln::cl_I const&, cln::cl_I*)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC5isqrtERKNS_7numericE': C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC7PiEvalfEv': c:/usr/tatsu/msys/octaves/ginac-1.4.1/ginac/ex.h:262: undefined reference to `cln::default_float_format' c:/usr/tatsu/msys/octaves/ginac-1.4.1/ginac/ex.h:262: undefined reference to `cln::pi(cln::float_format_t)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC7PiEvalfEv': C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' rence to `cln::cl_free_heap_object(cln::cl_heap*)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC10EulerEvalfEv': c:/usr/tatsu/msys/octaves/ginac-1.4.1/ginac/ex.h:262: undefined reference to `cln::default_float_format' c:/usr/tatsu/msys/octaves/ginac-1.4.1/ginac/ex.h:262: undefined reference to `cln::eulerconst(cln::float_format_t)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC10EulerEvalfEv': C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' C:/Programs/msys/1.0/local/octave-3.0.0/include/cln/object.h:216: undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC12CatalanEvalfEv': c:/usr/tatsu/msys/octaves/ginac-1.4.1/ginac/ex.h:262: undefined reference to `cln::default_float_format' c:/usr/tatsu/msys/octaves/ginac-1.4.1/ginac/ex.h:262: undefined reference to `cln::catalanconst(cln::float_format_t)' ../ginac/.libs/libginac.a(numeric.o): In function `ZN5GiNaC12CatalanEvalfEv': : : -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/