Thanks Mike!<br><br>As you might have suspected, the problem was a library name clash.<br>The extended search list using -L picked up a local copy of libutil.a that we created a few weeks ago and was not aware of :-(<br>I renamed it to something else and all is fine.
<br>I am making sure to tell others on the project to respect our naming convention!<br><br><div><span class="gmail_quote">On 8/4/07, <b class="gmail_sendername">Mike Frysinger</b> <<a href="mailto:vapier@gentoo.org">vapier@gentoo.org
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Friday 03 August 2007, Serge Blais wrote:<br>> configure:4448: powerpc-linux-gcc -o conftest -D_REENTRANT -Os
<br>> -fomit-frame-pointer -pipe -mcpu=860 conftest.c -lutil<br>> -lcrypt -L/home/sblais/dev/trunk/lib -lmyown >&5<br>> /tmp/ccbdxThZ.o: In function `main':<br>> conftest.c:(.text+0xc): undefined reference to `openpty'
<br>> collect2: ld returned 1 exit status<br>> configure:4454: $? = 1<br><br>run the same test and see why it fails:<br>echo 'int main(){return openpty();}' > test.c<br>powerpc-linux-gcc test.c -lutil<br>
powerpc-linux-gcc<br>test.c -lutil -L/home/sblais/dev/trunk/lib -lmyown -Wl,--verbose<br>-mike<br><br></blockquote></div><br>