Xref: utzoo comp.unix.aux:3462 comp.lang.perl:3252 Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!axion!tsa!domo From: domo@tsa.co.uk (Dominic Dunlop) Newsgroups: comp.unix.aux,comp.lang.perl Subject: Re: 2nd problem compiling perl on AUX2.0 Summary: Need -lposix to link perl PL41 on Apple A/UX 2.0 Message-ID: <1990Dec6.120034.5353@tsa.co.uk> Date: 6 Dec 90 12:00:34 GMT References: <26669@dartvax.Dartmouth.EDU> Reply-To: domo@tsa.co.uk (Dominic Dunlop) Followup-To: comp.unix.aux Organization: The Standard Answer Ltd. Lines: 14 In article <26669@dartvax.Dartmouth.EDU> pete@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