Bug 19125

Summary: Undefined symbol `_poll' referenced from text segment
Product: Base System Reporter: khayes <khayes>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description khayes 2000-06-08 16:10:01 UTC
I ma trying to compile a program( in aout format ) and have the following link err: 
/var/tmp/ccB379231.o: Undefined symbol `_poll' referenced from text segment

Fix: 

The is having trouble finding the _poll symbol.  I assume it is looking for a library (-l??).  The probelm is I do not know where that system call is located. 

Any help would be great.
thanks 
keith
How-To-Repeat: NA
Comment 1 Jens Schweikhardt freebsd_committer freebsd_triage 2001-06-15 18:41:15 UTC
State Changed
From-To: open->closed

RTFM. Each function lists the library its in. 
NAME 
poll - synchronous I/O multiplexing 
LIBRARY 
Standard C Library (libc, -lc) 

You might need to get the path for aout libs right, but 
we've moved to elf long ago. Try to use the much better 
supported elf format.