Jump to content

    
Sign in to follow this  
kovalchuk_i_v

STL под uClinux

Recommended Posts

Кто-нибудь использовал STL в программах для uClinux?

Что-то не получается откомпилировать свою прогу.

Имею кучу ошибок при линковке:

ucfront-gcc arm-elf-gcc  -Wl,-elf2flt -o testtrm obj/terminal.cpp.o obj/testtrm.cpp.o obj/TString.cpp.o obj/WinDialog.cpp.o obj/WinScreen.cpp.o obj/WinSimple.cpp.o obj/WinTrmBase.cpp.o
testtrm.elf2flt(.text+0x1138):/home/ivan/prog/ucLinuxLPC2468/uClinux-dist-20051014_2.6.11/include/STLport/stl/_alloc.h:251: undefined reference to `__node_alloc<false, 0>::_M_allocate(unsigned long)'
testtrm.elf2flt(.text+0x1210):/home/ivan/prog/ucLinuxLPC2468/uClinux-dist-20051014_2.6.11/include/STLport/stl/_alloc.h:253: undefined reference to `__node_alloc<false, 0>::_M_deallocate(void *, unsigned long)'
testtrm.elf2flt(.text+0x1308):/home/ivan/prog/ucLinuxLPC2468/uClinux-dist-20051014_2.6.11/include/STLport/stl/_alloc.h:253: undefined reference to `__node_alloc<false, 0>::_M_deallocate(void *, unsigned long)'
testtrm.elf2flt(.text+0x1428):/home/ivan/prog/ucLinuxLPC2468/uClinux-dist-20051014_2.6.11/include/STLport/stl/_alloc.h:251: undefined reference to `__node_alloc<false, 0>::_M_allocate(unsigned long)'
......
......

Share this post


Link to post
Share on other sites
Кто-нибудь использовал STL в программах для uClinux?

Что-то не получается откомпилировать свою прогу.

Имею кучу ошибок при линковке:

ucfront-gcc arm-elf-gcc  -Wl,-elf2flt -o testtrm obj/terminal.cpp.o obj/testtrm.cpp.o obj/TString.cpp.o obj/WinDialog.cpp.o obj/WinScreen.cpp.o obj/WinSimple.cpp.o obj/WinTrmBase.cpp.o
testtrm.elf2flt(.text+0x1138):/home/ivan/prog/ucLinuxLPC2468/uClinux-dist-20051014_2.6.11/include/STLport/stl/_alloc.h:251: undefined reference to `__node_alloc<false, 0>::_M_allocate(unsigned long)'
testtrm.elf2flt(.text+0x1210):/home/ivan/prog/ucLinuxLPC2468/uClinux-dist-20051014_2.6.11/include/STLport/stl/_alloc.h:253: undefined reference to `__node_alloc<false, 0>::_M_deallocate(void *, unsigned long)'
testtrm.elf2flt(.text+0x1308):/home/ivan/prog/ucLinuxLPC2468/uClinux-dist-20051014_2.6.11/include/STLport/stl/_alloc.h:253: undefined reference to `__node_alloc<false, 0>::_M_deallocate(void *, unsigned long)'
testtrm.elf2flt(.text+0x1428):/home/ivan/prog/ucLinuxLPC2468/uClinux-dist-20051014_2.6.11/include/STLport/stl/_alloc.h:251: undefined reference to `__node_alloc<false, 0>::_M_allocate(unsigned long)'
......
......

А может приведете версии arm-elf-gcc и т.д.

Вызывает сомнение

ucLinuxLPC2468/uClinux-dist-20051014_2.6.11
. Что в 2005 году был порт для LPC2468?

Может я и не прав, пусть меня поправят.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this