2nd problem compiling perl on AUX2.0

Dominic Dunlop domo at tsa.co.uk
Thu Dec 6 23:00:34 AEST 1990


In article <26669 at dartvax.Dartmouth.EDU> pete at eleazar.dartmouth.edu (Pete Schmitt) writes:
> undefined               first referenced
>  symbol                     in file
> rewinddir                       doio.o
> ld fatal: Symbol referencing errors. No output written to perl
> 
> I understand that rewinddir is a macro in dir.h and perl doio.c seems to
> be including it.  Is there a library I'm not using as well?

Right.  For some reason, despite the fact that it's a BSD invention, Apple
put that function (and it IS a function) in /usr/lib/libposix.a.
You need -lposix.
-- 
Dominic Dunlop



More information about the Comp.unix.aux mailing list