Hi, All

 

I got the uClinux-dist-20060803.tar.gz, and configured as following:

Vendor: Atmel/AT91

Build STLport.

 

All other configurations are default.

 

The next, make the lib with "make dep; make lib_only", then I got the
following errors:

 

make[2]: Leaving directory `/works/uClinux-dist/lib'

[ -z "zlib STLport" ] ||\

                make -j1 STLport zlib || exit $?

make[2]: Entering directory `/works/uClinux-dist/lib'

[ ! -d "STLport" ] || ( touch STLport/.sgbuilt_lib && make -j1 -C STLport )
|| exit $?

make[3]: Entering directory `/works/uClinux-dist/lib/STLport'

make -C build/lib -f uclinux-dist.mak install ARCH=a

make[4]: Entering directory `/works/uClinux-dist/lib/STLport/build/lib'

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/dll_main.o ../../src/dll_main.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/fstream.o ../../src/fstream.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/strstream.o ../../src/strstream.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/sstream.o ../../src/sstream.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/ios.o ../../src/ios.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/stdio_streambuf.o ../../src/stdio_streambuf.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/istream.o ../../src/istream.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/ostream.o ../../src/ostream.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/iostream.o ../../src/iostream.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/codecvt.o ../../src/codecvt.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/collate.o ../../src/collate.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/ctype.o ../../src/ctype.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/monetary.o ../../src/monetary.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/num_get.o ../../src/num_get.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/num_put.o ../../src/num_put.cpp

ucfront-g++ arm-uclinux-g++  -pthread -fexceptions -fident  -fPIC -O2
-fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/works/uClinux-dist/include/STLport -I/works/uClinux-dist/include  -c -o
obj/gcc/shared/num_get_float.o ../../src/num_get_float.cpp

../../src/num_get_float.cpp:119:4: #error "there should be some unsigned
64-bit integer on the system!"

../../src/num_get_float.cpp:125: error: expected `,' or `...' before "u"

../../src/num_get_float.cpp:126: error: ISO C++ forbids declaration of
`uint64' with no type

../../src/num_get_float.cpp: In function `void std::_Stl_mult64(int)':

../../src/num_get_float.cpp:127: error: `uint64' does not name a type

../../src/num_get_float.cpp:128: error: `uint64' does not name a type

../../src/num_get_float.cpp:129: error: `uint64' does not name a type

../../src/num_get_float.cpp:130: error: `uint64' does not name a type

../../src/num_get_float.cpp:131: error: `uint64' does not name a type

../../src/num_get_float.cpp:133: error: expected `;' before "t"

../../src/num_get_float.cpp:134: error: `low' undeclared (first use this
function)

../../src/num_get_float.cpp:134: error: (Each undeclared identifier is
reported only once for each function it

appears in.)

../../src/num_get_float.cpp:134: error: `t' undeclared (first use this
function)

../../src/num_get_float.cpp:134: error: `low_mask' undeclared (first use
this function)

../../src/num_get_float.cpp:136: error: `u1' undeclared (first use this
function)

../../src/num_get_float.cpp:136: error: `v0' undeclared (first use this
function)

../../src/num_get_float.cpp:137: error: expected `;' before "w1"

../../src/num_get_float.cpp:138: error: expected `;' before "w2"

../../src/num_get_float.cpp:140: error: expected `;' before "x"

../../src/num_get_float.cpp:141: error: `x' undeclared (first use this
function)

../../src/num_get_float.cpp:142: error: `high' undeclared (first use this
function)

../../src/num_get_float.cpp:142: error: `v1' undeclared (first use this
function)

../../src/num_get_float.cpp:142: error: `w2' undeclared (first use this
function)

../../src/num_get_float.cpp: At global scope:

../../src/num_get_float.cpp:153: error: variable or field
`_Stl_set_exponent' declared void

../../src/num_get_float.cpp:153: error: `std::_Stl_set_exponent' declared as
an `inline' variable

../../src/num_get_float.cpp:153: error: `uint64' was not declared in this
scope

../../src/num_get_float.cpp:153: error: `val' was not declared in this scope

../../src/num_get_float.cpp:153: error: `uint64' was not declared in this
scope

../../src/num_get_float.cpp:154: error: initializer expression list treated
as compound expression

../../src/num_get_float.cpp:154: error: expected `,' or `;' before '{' token

../../src/num_get_float.cpp:163: error: `uint64' does not name a type

../../src/num_get_float.cpp:164: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:165: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:166: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:167: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:168: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:169: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:170: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:171: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:172: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:173: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:174: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:175: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:176: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:177: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:178: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:179: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:180: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:181: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:182: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:183: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:184: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:185: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:186: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:187: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:188: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:189: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:190: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:192: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:193: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:194: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:195: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:196: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:197: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:198: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:199: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:200: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:201: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:203: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:204: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:205: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:206: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:207: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:208: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:209: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:210: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:211: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:212: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:213: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:214: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:215: error: integer constant is too large for
"long" type

../../src/num_get_float.cpp:288: error: variable or field
`_Stl_norm_and_round' declared void

../../src/num_get_float.cpp:288: error: `uint64' was not declared in this
scope

../../src/num_get_float.cpp:288: error: `p' was not declared in this scope

../../src/num_get_float.cpp:288: error: expected primary-expression before
"int"

../../src/num_get_float.cpp:288: error: `uint64' was not declared in this
scope

../../src/num_get_float.cpp:288: error: `uint64' was not declared in this
scope

../../src/num_get_float.cpp:289: error: initializer expression list treated
as compound expression

../../src/num_get_float.cpp:289: error: expected `,' or `;' before '{' token

../../src/num_get_float.cpp:333: error: variable or field `_Stl_tenscale'
declared void

../../src/num_get_float.cpp:333: error: `uint64' was not declared in this
scope

../../src/num_get_float.cpp:333: error: `p' was not declared in this scope

../../src/num_get_float.cpp:333: error: expected primary-expression before
"int"

../../src/num_get_float.cpp:333: error: expected primary-expression before
"int"

../../src/num_get_float.cpp:333: error: initializer expression list treated
as compound expression

../../src/num_get_float.cpp:333: error: expected `,' or `;' before '{' token

../../src/num_get_float.cpp: In function `double std::_Stl_atod(char*, int,
int)':

../../src/num_get_float.cpp:629: error: `std::_Stl_tenscale' cannot be used
as a function

../../src/num_get_float.cpp:651: error: `ULL' undeclared (first use this
function)

../../src/num_get_float.cpp:653: error: `uint32' undeclared (first use this
function)

../../src/num_get_float.cpp:687: error: expected `,' or `;' before "vv"

make[4]: *** [obj/gcc/shared/num_get_float.o] 错误 1

make[4]: Leaving directory `/works/uClinux-dist/lib/STLport/build/lib'

make[3]: *** [all] 错误 2

make[3]: Leaving directory `/works/uClinux-dist/lib/STLport'

make[2]: *** [STLport] 错误 2

make[2]: Leaving directory `/works/uClinux-dist/lib'

make[1]: *** [all] 错误 2

make[1]: Leaving directory `/works/uClinux-dist/lib'

make: *** [lib_only] 错误 2

 

the toolchain information is listed.

[EMAIL PROTECTED] uClinux-dist]# arm-uclinux-gcc -v

Reading specs from /usr/local/arm-elf-tools/lib/gcc/arm-uclinux/3.4.3/specs

Configured with: /works/tools/gcc-3.4.3/configure --target=arm-uclinux
--prefix=/usr/local/arm-elf-tools --disable-shared --enable-languages=c,c++
--enable-multilib --enable-target-optspace --with-gnu-ld --disable-nls
--disable-__cxa_atexit --disable-c99 --disable-clocale --disable-c-mbchar
--disable-long-long --enable-threads=posix
--enable-cxx-flags=-D_ISOC99_SOURCE -D_BSD_SOURCE

Thread model: posix

gcc version 3.4.3

 

Is this error occurred because of ‘―disable-long-long’? Or other reasons?

 

Any suggestions are welcome.

 

Darwin.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to