- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when I build a project, I have "-lpthread" in Libraries. But it shown that "cygdrive/e/altera/kits/nios2_51/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: cannot find
-lpthread". Can anyone know why? thanks!Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,hippo
I have resolved this problem by adding uClibc/lib. But when I upload to the flash and run under uClinux. Another comes out, "BINFMT_FLAT: bad magic /rev(0x10101ff,need 0x4)", can you tell me why? thanks!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by cuimi@Sep 26 2006, 11:58 PM hi,hippo
i have resolved this problem by adding uclibc/lib. but when i upload to the flash
and run under uclinux. another comes out, "binfmt_flat: bad magic /rev(0x10101ff,need 0x4)", can you tell me why? thanks!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18461)
--- quote end ---
--- Quote End --- Silly question here... Did you compile your executable with the "-elf2flt" option? The kernel is expecting to see a FLT (not ELF) formatted executable. - slacker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you!
I have resolved it!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page