Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » gcc build warnings(bad file number and mode armelf)
gcc build warnings [message #1784873] Thu, 05 April 2018 03:36 Go to next message
dajin li is currently offline dajin liFriend
Messages: 1
Registered: April 2018
Junior Member
When I build c project, I enconuterred 2 problems,
1. make: stat: Objects/display/ChineseLanguage.o: Bad file number

The is one message say bad file number, I don't why, although build don't have

problem,

compiling ChineseLanguage.c ...

2. C:/Program1/Hitex/GnuToolPackageCortex/libexec/gcc/arm-hitex-elf/4.5.0/../../../../arm-hitex-elf/bin/ld: mode armelf

what's this mean?

Thanks a lot,
Re: gcc build warnings [message #1785026 is a reply to message #1784873] Sun, 08 April 2018 02:53 Go to previous message
David VavraFriend
Messages: 777
Registered: October 2012
Senior Member
"Bad file number" is likely error EBADF.
Quote:
Macro: int EBADF
Bad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa).

https://community.hpe.com/t5/Languages-and-Scripting/Intermittent-problem-with-BAD-FILE-NUMBER-errno-9/td-p/3614219

There isn't enough information to tell.
Looking at the make recipe that is failing might give a clue.
Previous Topic:Reading USB with C++
Next Topic:Project won't find header files in src file
Goto Forum:
  


Current Time: Sat Sep 22 07:49:28 GMT 2018

Powered by FUDForum. Page generated in 0.01658 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top