- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Undefined symbols "if_indextoname" & "setlineb...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 02:27 AM
тАО12-10-2008 02:27 AM
Undefined symbols "if_indextoname" & "setlinebuf"
.o objects/prod/GenLinkedList.c.o objects/prod/DNSDigest.c.o objects/prod/uDNS.c
.o objects/prod/DNSCommon.c.o objects/prod/NetMonitor.c.o -o build/prod/mDNSNetM
onitor -lnsl -lm
ld: Unsatisfied symbol "if_indextoname" in file objects/prod/NetMonitor.c.o
ld: Unsatisfied symbol "setlinebuf" in file objects/prod/NetMonitor.c.o
2 errors.
collect2: ld returned 1 exit status
gmake: *** [build/prod/mDNSNetMonitor] Error 1
Pls let me know which linkline is missing here.
Even i tried including '-lc' option still the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 02:29 AM
тАО12-10-2008 02:29 AM
Re: Undefined symbols "if_indextoname" & "setlinebuf"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 02:51 AM
тАО12-10-2008 02:51 AM
Re: Undefined symbols "if_indextoname" & "setlinebuf"
If possible please reinstall gcc.
and check
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 03:14 AM
тАО12-10-2008 03:14 AM
Re: Undefined symbols "if_indextoname" & "setlinebuf"
Never do this, remove -lc since added by the driver.
Do you know where those functions are defined and what they do?
You can search mass quantities by using:
nm -pxAN lib-paths | grep -e if_indextoname -e setlinebuf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 03:49 AM
тАО12-10-2008 03:49 AM
Re: Undefined symbols "if_indextoname" & "setlinebuf"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 04:01 AM
тАО12-10-2008 04:01 AM
Re: Undefined symbols "if_indextoname" & "setlinebuf"
bash-3.00$ nm -pxAN lib-paths | grep -e if_indextoname -e setlinebuf
/usr/local/packages/compiler/usr/ccs/lbin/nm32: No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 04:03 AM
тАО12-10-2008 04:03 AM
Re: Undefined symbols "if_indextoname" & "setlinebuf"
if_indextoname(3) says to use -lipv6, unless on 11.31.
setlinebuf(3) seems to be in libc but why would you use it instead of Standard setvbuf(3)? It seems to only be in 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 04:08 AM
тАО12-10-2008 04:08 AM
Re: Undefined symbols "if_indextoname" & "setlinebuf"
>/usr/local/packages/compiler/usr/ccs/lbin/nm32: No such file or directory
You need to replace lib-paths to something like /usr/lib/lib*
nm(1) is in /usr/ccs/bin. Make sure it is in your PATH before the foreign devil /usr/local/bin.
- Tags:
- foreign devil tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 04:23 AM
тАО12-10-2008 04:23 AM
Re: Undefined symbols "if_indextoname" & "setlinebuf"
I need help on second sumbol i.e.ld: Unsatisfied symbol "setlinebuf" in file objects/prod/NetMonitor.c.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2008 04:28 AM
тАО12-10-2008 04:28 AM