From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 19 Oct 2004 16:14:21 -0500 From: Eric Van Hensbergen To: Derek Davis , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] plan9ports won't compile: undefined ref to getcallerpc In-Reply-To: <1430953d041019133570d3ef35@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1430953d041019133570d3ef35@mail.gmail.com> Cc: Topicbox-Message-UUID: f0e2a696-eacd-11e9-9e20-41e7f4b1d025 On Tue, 19 Oct 2004 14:35:26 -0600, Derek Davis wrote: > I've been trying to compile plan9port in linux simply so that I can > use Acme. However, whenever I run the install script, it will go for > a while but quit with errors when running '9l -o o.9p 9p.o...'. All > the shown errors are in the file fdwait.c, and are due to undefined > reference to getcallerpc. I opened fdwait.c and it includes libc.h, > which defines getcallerpc, so I am not sure what is causing the error. > Google searches turned up nothing, and I could find nothing in the > list archives about this. Have you seen this problem before, and do > you know what might be causing it? I am building on a Gentoo system > using gcc 3.3.4-r1. > Okay, I was able to reproduce your problem on Gentoo x86 with the same compiler. Simply remove lib/lib9.a and run ./INSTALL again. Not sure why this fixes it (don't have time to look into it right now), but it does. -eric