[uClibc] libstdc++v3 globals_io.cc ftello64 fseeko64 error

daniel widyanto kunil at dsp.itb.ac.id
Fri Jan 7 10:09:20 UTC 2005


For those of you who unlucky to compile g++-3.x support in uClibc, you can
use buildroot script or toolchain script which you can get at uclibc's
website.

Make sure you turn on "Support for Large File (file > 2GB) support",
eventhough you use 64MB CF. Then compile it using make.

Sorry if this have been posted before, I'm reposting it because I found
nothing in google using these keyword.

Here's the exact error message :
----------------------------------------
buildroot/toolchain_build_i386/gcc-3.4.1-final/gcc/xgcc
	-shared-libgcc ..... -o .libs/globals_io.o

In file included from
buildroot/toolchain_build_i386/gcc-3.4.1/libstdc++-v3/src/globals_io.cc:34:

buildroot/toolchain_build_i386/gcc-3.4.1-final/i386-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h:
	In member function `virtual std::streampos
__gnu_cxx::stdio_sync_filebuf<_CharT, _Traits>::seekoff(std::streamoff,
std::_Ios_Seekdir, std::_Ios_Openmode)':
	buildTools/buildroot/toolchain_build_i386/gcc-3.4.1-final/i386-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h:170:
	error: there are no arguments to `fseeko64' that depend on a template
parameter, so a declaration of `fseeko64' must be available

buildroot/toolchain_build_i386/gcc-3.4.1-final/i386-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h:170:
	error: (if you use `-fpermissive', G++ will accept your code, but
allowing the use of an undeclared name is deprecated)

buildTools/buildroot/toolchain_build_i386/gcc-3.4.1-final/i386-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h:171:
	error: there are no arguments to `ftello64' that depend on a template
parameter, so a declaration of `ftello64' must be available

make[4]: *** [globals_io.lo] Error 1
make[4]: Leaving directory
`/home/kunil/buildroot/toolchain_build_i386/gcc-3.4.1-final/i386-linux-uclibc/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/kunil/buildroot/toolchain_build_i386/gcc-3.4.1-final/i386-linux-uclibc/libstdc++-v3'
make[2]: *** [all] Error 2



More information about the uClibc mailing list