Results 1 to 3 of 3
hi all,
i am working in uclinux environment,i have compiled the c++ application program using the command ,bfin-elf-g++ and i am getting following undefined reference error,
undefined reference to `_our_inet_ntoa'
...
- 12-10-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 7
Undefined Reference while compiling
hi all,
i am working in uclinux environment,i have compiled the c++ application program using the command ,bfin-elf-g++ and i am getting following undefined reference error,
undefined reference to `_our_inet_ntoa'
undefined reference to `_getsockname'
undefined reference to `_stdin'
undefined reference to `_fopen64
undefined reference to `_stderr'
ndefined reference to `_our_random'
undefined reference to `_our_random32'
undefined reference to `_send'
undefined reference to `_ntohl'
undefined reference to `_select'
undefined reference to `_socket'
undefined reference to `_setsockopt'
undefined reference to `_bind'
undefined reference to `_ntohs'
from which library i have to add to solve this problem,any one guide me in this regard
thanks $ regards
aswini
- 12-13-2007 #2Just Joined!
- Join Date
- Aug 2007
- Posts
- 7
undefined reference
hi ,
I have found the reason ,why i am getting following errors, there is no particular function definition ,thats why i am getting such a errors. but i dont know how to link ,from which system contain the definition of that particular errors. could any one guide me.
with regards
aswini
- 12-13-2007 #3
The commands you use to compile your program are unusual, and are unfamiliar to me. They are probably part of some specialized package. The only thing I can recommend is that you go to the documentation for those commands and see what it says about including libraries at link time.
I wish I could be more help. Sorry.--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote