[#4054] build asterisk fails for lib/STLport issue

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#4054] build asterisk fails for lib/STLport issue

Submitted By: Mingquan Pan

Open Date

2008-04-23 05:44:14     Close Date

2008-04-23 06:03:14

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

N/A

Uboot version or rev.:

    Toolchain version or rev.:

08r1-8

App binary format:

N/A     

Summary: build asterisk fails for lib/STLport issue

Details:

 

build asterisk fails for lib/STLport issue on trunk.

 

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CALL    scripts/checksyscalls.sh

  Building modules, stage 2.

  MODPOST 57 modules

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'

for dir in  lib user ; do [ ! -d $dir ] || make ARCH=blackfin   -C $dir || exit 1 ; done

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

[ -z "" ] || make -j1  || exit $?

[ -z "" ] || (cd /home/test/work/cruise/checkouts/uclinux-dist/staging; chmod 755 ./usr/lib/lib*.so*; chmod 644 ./usr/lib/lib*.la ./usr/lib/lib*.a; sed -i "/^libdir=/s:=.*:='/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib':" ./usr/lib/*.la; sed -i "/^prefix=/s:=.*:='/home/test/work/cruise/checkouts/uclinux-dist/staging/usr':" ./usr/lib/pkgconfig/*.pc ./usr/bin/*-config; true)

[ -z "" ] || make -j1  || exit $?

[ -z "" ] || (cd /home/test/work/cruise/checkouts/uclinux-dist/staging; chmod 755 ./usr/lib/lib*.so*; chmod 644 ./usr/lib/lib*.la ./usr/lib/lib*.a; sed -i "/^libdir=/s:=.*:='/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib':" ./usr/lib/*.la; sed -i "/^prefix=/s:=.*:='/home/test/work/cruise/checkouts/uclinux-dist/staging/usr':" ./usr/lib/pkgconfig/*.pc ./usr/bin/*-config; true)

[ -z "libssl libg zlib libjpeg STLport ncurses" ] || make -j1 STLport libg libjpeg libssl ncurses zlib || exit $?

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

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

make[3]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/STLport'

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

make[4]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/STLport/build/lib'

bfin-uclinux-g++ -pipe -Wall  -mcpu=bf537-0.2 -pthread -fexceptions -fident  -fPIC -O2 -fuse-cxa-atexit  -D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE  -I/home/test/work/cruise/checkouts/uclinux-dist/include/STLport -I/home/test/work/cruise/checkouts/uclinux-dist/include  -c -o obj/gcc/shared/dll_main.o ../../src/dll_main.cpp

In file included from ../../src/dll_main.cpp:29:

../../src/stlport_prefix.h:20:25: error: stl/_config.h: No such file or directory

../../src/dll_main.cpp:46:17: error: slist: No such file or directory

../../src/dll_main.cpp:48:28: error: stl/_hashtable.h: No such file or directory

../../src/dll_main.cpp:56:18: error: rope: No such file or directory

../../src/dll_main.cpp:91: error: expected constructor, destructor, or type conversion before 'void'

../../src/dll_main.cpp:95: error: expected initializer before '_STLP_CALL'

../../src/dll_main.cpp:99: error: expected initializer before '_STLP_CALL'

../../src/dll_main.cpp:103: error: expected initializer before '_STLP_CALL'

../../src/dll_main.cpp:107: error: expected initializer before '_STLP_CALL'

../../src/dll_main.cpp:152: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC __stl_debug_engine'

../../src/dll_main.cpp:152: error: expected `;' before '<' token

../../src/dll_main.cpp:155: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC __node_alloc'

../../src/dll_main.cpp:155: error: expected `;' before '<' token

../../src/dll_main.cpp:156: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC __node_alloc'

../../src/dll_main.cpp:156: error: expected `;' before '<' token

../../src/dll_main.cpp:157: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC __debug_alloc'

../../src/dll_main.cpp:157: error: expected `;' before '<' token

../../src/dll_main.cpp:158: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC __debug_alloc'

../../src/dll_main.cpp:158: error: expected `;' before '<' token

../../src/dll_main.cpp:159: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC __debug_alloc'

../../src/dll_main.cpp:159: error: expected `;' before '<' token

../../src/dll_main.cpp:160: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC __malloc_alloc'

../../src/dll_main.cpp:160: error: expected `;' before '<' token

../../src/dll_main.cpp:174: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC allocator'

../../src/dll_main.cpp:174: error: expected `;' before '<' token

../../src/dll_main.cpp:175: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _STLP_alloc_proxy'

../../src/dll_main.cpp:175: error: expected `;' before '<' token

../../src/dll_main.cpp:178: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Vector_base'

../../src/dll_main.cpp:178: error: expected `;' before '<' token

../../src/dll_main.cpp:181: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Vector_impl'

../../src/dll_main.cpp:181: error: expected `;' before '<' token

../../src/dll_main.cpp:184: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC __WORKAROUND_DBG_RENAME'

../../src/dll_main.cpp:184: error: expected `;' before '(' token

../../src/dll_main.cpp:189: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC allocator'

../../src/dll_main.cpp:189: error: expected `;' before '<' token

../../src/dll_main.cpp:190: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _STLP_alloc_proxy'

../../src/dll_main.cpp:190: error: expected `;' before '<' token

../../src/dll_main.cpp:191: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Vector_base'

../../src/dll_main.cpp:191: error: expected `;' before '<' token

../../src/dll_main.cpp:193: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Vector_impl'

../../src/dll_main.cpp:193: error: expected `;' before '<' token

../../src/dll_main.cpp:201: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC vector'

../../src/dll_main.cpp:201: error: expected `;' before '<' token

../../src/dll_main.cpp:205: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC allocator'

../../src/dll_main.cpp:205: error: expected `;' before '<' token

../../src/dll_main.cpp:207: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _STLP_alloc_proxy'

../../src/dll_main.cpp:207: error: expected `;' before '<' token

../../src/dll_main.cpp:208: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Vector_base'

../../src/dll_main.cpp:208: error: expected `;' before '<' token

../../src/dll_main.cpp:209: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Vector_impl'

../../src/dll_main.cpp:209: error: expected `;' before '<' token

../../src/dll_main.cpp:211: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _List_node'

../../src/dll_main.cpp:211: error: expected `;' before '<' token

../../src/dll_main.cpp:212: error: expected initializer before '<' token

../../src/dll_main.cpp:213: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC allocator'

../../src/dll_main.cpp:213: error: expected `;' before '<' token

../../src/dll_main.cpp:214: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _STLP_alloc_proxy'

../../src/dll_main.cpp:214: error: expected `;' before '<' token

../../src/dll_main.cpp:215: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _List_base'

../../src/dll_main.cpp:215: error: expected `;' before '<' token

../../src/dll_main.cpp:216: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _List_impl'

../../src/dll_main.cpp:216: error: expected `;' before '<' token

../../src/dll_main.cpp:219: error: expected constructor, destructor, or type conversion before 'template'

../../src/dll_main.cpp:222: error: expected constructor, destructor, or type conversion before 'typedef'

../../src/dll_main.cpp:223: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _STLP_alloc_proxy'

../../src/dll_main.cpp:223: error: expected `;' before '<' token

../../src/dll_main.cpp:226: error: expected constructor, destructor, or type conversion before 'template'

../../src/dll_main.cpp:227: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Slist_impl'

../../src/dll_main.cpp:227: error: expected `;' before '<' token

../../src/dll_main.cpp:230: error: expected constructor, destructor, or type conversion before 'template'

../../src/dll_main.cpp:231: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _STLP_alloc_proxy'

../../src/dll_main.cpp:231: error: expected `;' before '<' token

../../src/dll_main.cpp:232: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Deque_iterator'

../../src/dll_main.cpp:232: error: expected `;' before '<' token

../../src/dll_main.cpp:233: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Deque_base'

../../src/dll_main.cpp:233: error: expected `;' before '<' token

../../src/dll_main.cpp:234: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Deque_impl'

../../src/dll_main.cpp:234: error: expected `;' before '<' token

../../src/dll_main.cpp:237: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Rb_global'

../../src/dll_main.cpp:237: error: expected `;' before '<' token

../../src/dll_main.cpp:238: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _List_global'

../../src/dll_main.cpp:238: error: expected `;' before '<' token

../../src/dll_main.cpp:241: error: expected constructor, destructor, or type conversion before 'template'

../../src/dll_main.cpp:242: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Stl_prime'

../../src/dll_main.cpp:242: error: expected `;' before '<' token

../../src/dll_main.cpp:245: error: expected constructor, destructor, or type conversion before 'template'

../../src/dll_main.cpp:246: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _Bs_G'

../../src/dll_main.cpp:246: error: expected `;' before '<' token

../../src/dll_main.cpp:248: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC allocator'

../../src/dll_main.cpp:248: error: expected `;' before '<' token

../../src/dll_main.cpp:249: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _STLP_alloc_proxy'

../../src/dll_main.cpp:249: error: expected `;' before '<' token

../../src/dll_main.cpp:250: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC _String_base'

../../src/dll_main.cpp:250: error: expected `;' before '<' token

../../src/dll_main.cpp:270: error: explicit instantiation of non-template '_STLP_CLASS_DECLSPEC basic_string'

../../src/dll_main.cpp:270: error: expected `;' before '<' token

../../src/dll_main.cpp:276: error: expected constructor, destructor, or type conversion at end of input

make[4]: *** [obj/gcc/shared/dll_main.o] Error 1

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/STLport/build/lib'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/STLport'

make[2]: *** [STLport] Error 2

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

make: *** [subdirs] Error 1

 

config files see attached.

 

Follow-ups

 

--- Mingquan Pan                                             2008-04-23 06:03:13

Since it is the old revision. No need to build.Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.kernel.pbx    application/octet-stream    29240    Mingquan Pan

config.vendor.pbx    application/octet-stream    44691    Mingquan Pan

Outcomes