Cross-compilation problem

Mazi Lo <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
For the past few months, I have unsucessfully tried to cross compile unixodbc (from the latest SVN trunk) as shown below. If I reissued make after the compilation crashed, the compilation went smoothly to produce a usable package. So, in this case, I will need to issue a 2x compilations in order to produce a useable binary package and that is of course making no sense. I am hoping developers here can help to solve this issue. BTW, I am using the latest revision #35 of unixodbc from SVN trunk. Thank you.
-------------------------------------------OpenWrt-libtool: compile:  mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/usr/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libiconv-stub/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libintl-stub/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libiconv-stub/include -Os -pipe -mips32 -mtune=mips32 -fno-caller-saves -fhonour-copts -msoft-float -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libiconv-stub/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libintl-stub/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/usr/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libiconv-stub/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libintl-stub/include -fpic -MT strcasecmp.lo -MD -MP -MF .deps/strcasecmp.Tpo -c strcasecmp.c  -fPIC -DPIC -o .libs/strcasecmp.omv -f .deps/strcasecmp.Tpo .deps/strcasecmp.Plomv -f .deps/strcasecmp.Tpo .deps/strcasecmp.Plomv: cannot stat `snprintf.loT': No such file or directorymv -f .deps/snprintf.Tpo .deps/snprintf.Plomv -f .deps/snprintf.Tpo .deps/snprintf.Plomv: cannot move `.deps/snprintf.Tpo' to `.deps/snprintf.Plo': No such file or directorymake[4]: *** [snprintf.lo] Error 1/bin/sh ../libtool --tag=CC   --mode=link mipsel-openwrt-linux-uclibc-gcc  -Os -pipe -mips32 -mtune=mips32 -fno-caller-saves -fhonour-copts -msoft-float -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libiconv-stub/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libintl-stub/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/usr/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libiconv-stub/include -I/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libintl-stub/include -fpic -no-undefined  -L/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib -L/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/lib -L/opt/openwrt-svn-trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/usr/lib -L/opt/openwrt-svn-trunk/staging_dir/toolchain-mipsel_gcc-linaro_uClibc-0.9.32/lib -L/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libiconv-stub/lib -L/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libintl-stub/lib -L/opt/openwrt-svn-trunk/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/libiconv-stub/lib -o libodbcextraslc.la  strcasecmp.lo snprintf.lo  -ldl  -lpthreadmake[4]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-mipsel_uClibc-0.9.32/unixodbc-r35/extras'make[3]: *** [install-recursive] Error 1make[3]: *** Waiting for unfinished jobs....-------------------------------------------
--
Mazilo

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.