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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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
Problem building mpatrol on RHEL5   Message List  
Reply | Forward Message #1194 of 1197 |
Hi,
I'm trying to build mpatrol on a RHEL 5 machine and getting errors during the
make.
I have followed the below steps:
1. Run pkg/auto/setup
2. ./configure
3. make.
I get the error message listed below. ("symbol.c:82:17: error: bfd.h: No such
file or directory)
Could someone please help with the building mpatrol on RHEL 5.

Thanks in Advance,
Subbu


[root@localhost auto]# uname -a
Linux localhost.localdomain 2.6.18-92.el5xen #1 SMP Tue Apr 29

gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wp,-MD,.deps/symbol.pp -c symbol.c
-fPIC -DPIC -o .libs/symbol.lo
symbol.c:82:17: error: bfd.h: No such file or directory
symbol.c:416: error: expected specifier-qualifier-list before 'bfd'
symbol.c:430: error: expected specifier-qualifier-list before 'bfd_vma'
symbol.c: In function '__mp_closesymbols':
symbol.c:543: error: 'objectfile' has no member named 'file'
symbol.c:544: error: 'objectfile' has no member named 'symbols'
symbol.c: At top level:
symbol.c:866: error: expected declaration specifiers or '...' before 'asymbol'
symbol.c: In function 'addsymbol':
symbol.c:872: error: 'p' undeclared (first use in this function)
symbol.c:872: error: (Each undeclared identifier is reported only once
symbol.c:872: error: for each function it appears in.)
symbol.c:878: error: 'BSF_LOCAL' undeclared (first use in this function)
symbol.c:878: error: 'BSF_GLOBAL' undeclared (first use in this function)
symbol.c:878: error: 'BSF_WEAK' undeclared (first use in this function)
symbol.c: At top level:
symbol.c:1411: error: expected declaration specifiers or '...' before 'bfd'
symbol.c: In function 'addsymbols':
symbol.c:1413: error: 'asymbol' undeclared (first use in this function)
symbol.c:1413: error: 'p' undeclared (first use in this function)
symbol.c:1421: error: 'h' undeclared (first use in this function)
symbol.c:1464: error: expected expression before ')' token
symbol.c:1498: error: 'SEC_CODE' undeclared (first use in this function)
symbol.c:1500: error: too many arguments to function 'addsymbol'
symbol.c:1511: error: 'objectfile' has no member named 'symbols'
symbol.c: In function '__mp_addsymbols':
symbol.c:1619: error: 'bfd' undeclared (first use in this function)
symbol.c:1619: error: 'a' undeclared (first use in this function)
symbol.c:1619: error: 'g' undeclared (first use in this function)
symbol.c:1619: error: 'h' undeclared (first use in this function)
symbol.c:1835: error: 'bfd_archive' undeclared (first use in this function)
symbol.c:1852: error: 'bfd_object' undeclared (first use in this function)
symbol.c:1881: error: 'objectfile' has no member named 'file'
symbol.c:1882: error: 'objectfile' has no member named 'symbols'
symbol.c:1883: error: 'objectfile' has no member named 'base'
symbol.c:1886: error: too many arguments to function 'addsymbols'
symbol.c:1888: warning: passing argument 4 of 'addsymbols' makes integer from
pointer without a cast
symbol.c:1888: error: too many arguments to function 'addsymbols'
symbol.c: In function '__mp_findsymbol':
symbol.c:2418: error: 'BSF_LOCAL' undeclared (first use in this function)
symbol.c:2419: error: 'BSF_WEAK' undeclared (first use in this function)
symbol.c:2420: error: 'BSF_GLOBAL' undeclared (first use in this function)
symbol.c: At top level:
symbol.c:2441: error: expected ')' before '*' token
symbol.c: In function '__mp_findsource':
symbol.c:2488: error: 'sourcepos' has no member named 'addr'
symbol.c:2488: error: 'bfd_vma' undeclared (first use in this function)
symbol.c:2488: error: expected ';' before 'p'
symbol.c:2489: error: 'sourcepos' has no member named 'found'
symbol.c:2492: error: 'sourcepos' has no member named 'symbols'
symbol.c:2492: error: 'objectfile' has no member named 'symbols'
symbol.c:2493: error: 'sourcepos' has no member named 'base'
symbol.c:2493: error: 'objectfile' has no member named 'base'
symbol.c:2494: error: 'objectfile' has no member named 'file'
symbol.c:2494: error: 'findsource' undeclared (first use in this function)
symbol.c:2495: error: 'sourcepos' has no member named 'found'
symbol.c:2497: error: 'sourcepos' has no member named 'func'
symbol.c:2498: error: 'sourcepos' has no member named 'file'
symbol.c:2499: error: 'sourcepos' has no member named 'line'
gmake[2]: *** [symbol.lo] Error 1
gmake[2]: Leaving directory `/root/covtool/REL_1_5_0/pkg/auto/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/covtool/REL_1_5_0/pkg/auto'
gmake: *** [all-recursive-am] Error 2





Tue Jun 30, 2009 3:16 pm

subbz15
Offline Offline
Send Email Send Email

Forward
Message #1194 of 1197 |
Expand Messages Author Sort by Date

Hi, I'm trying to build mpatrol on a RHEL 5 machine and getting errors during the make. I have followed the below steps: 1. Run pkg/auto/setup 2. ./configure ...
Subramanian R
subbz15
Offline Send Email
Jun 30, 2009
9:25 pm

... you have to install the development package of binutils. This is where bfd.h and other related files are Vincent...
vincent.torri
Offline Send Email
Jul 1, 2009
7:07 am
Advanced

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