Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Regarding undefined reference   Message List  
Reply | Forward Message #964 of 1198 |
Re: [mpatrol] Regarding undefined reference



krshna_bharath a écrit :
> dear team,
> i compiled a simple C code using the follwing statement.
> "cc -I/usr/local/include test.c -L/usr/local/lib -lmpatrol -lelf"
> get the following error.
> /usr/local/lib/libmpatrol.so: undefined refernce to 'bfd_errmsg'
> The error also says some more undefined refernces to some more bfd
> functions.
> can you say me a way to get out of this error
> thanks in advance
> nithya
>
add -lbfd at the end of your cc command...

not all distro ship libbfd however, you might have to rebuild it or
compile it statically into the binary...

Jeremy



Fri Apr 29, 2005 2:32 pm

jeremy.rosen@...
Send Email Send Email

Forward
Message #964 of 1198 |
Expand Messages Author Sort by Date

dear team, i compiled a simple C code using the follwing statement. "cc -I/usr/local/include test.c -L/usr/local/lib -lmpatrol -lelf" get the following error. ...
krshna_bharath
Offline Send Email
Apr 29, 2005
2:24 pm

... add -lbfd at the end of your cc command... not all distro ship libbfd however, you might have to rebuild it or compile it statically into the binary... ...
ROSEN Jeremy
jeremy.rosen@...
Send Email
Apr 29, 2005
2:33 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help