From nobody@FreeBSD.ORG  Thu Jun  8 08:00:15 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id B0B5437B51E; Thu,  8 Jun 2000 08:00:15 -0700 (PDT)
Message-Id: <20000608150015.B0B5437B51E@hub.freebsd.org>
Date: Thu,  8 Jun 2000 08:00:15 -0700 (PDT)
From: khayes@enstar.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Undefined symbol `_poll' referenced from text segment 
X-Send-Pr-Version: www-1.0

>Number:         19125
>Category:       misc
>Synopsis:       Undefined symbol `_poll' referenced from text segment
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 08 08:10:01 PDT 2000
>Closed-Date:    Fri Jun 15 10:41:15 PDT 2001
>Last-Modified:  Fri Jun 15 10:45:24 PDT 2001
>Originator:     Keith Hayes
>Release:        3.2
>Organization:
Enstar
>Environment:
FreeBSD timmy 3.2-19990726-STABLE FreeBSD 3.2-19990726-STABLE #0: Mon Jul 26 09:
36:35 GMT 1999     root@usw3.freebsd.org:/usr/src/sys/compile/GENERIC  i386 

>Description:
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 

>How-To-Repeat:
NA
>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


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Fri Jun 15 10:41:15 PDT 2001 
State-Changed-Why:  
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. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19125 
>Unformatted:
