Adding LDFLAGS options break configure check for openpty.

Mike Frysinger vapier at gentoo.org
Sat Aug 4 12:40:24 WST 2007


On Friday 03 August 2007, Serge Blais wrote:
> configure:4448:   powerpc-linux-gcc -o conftest -D_REENTRANT -Os
> -fomit-frame-pointer -pipe -mcpu=860 conftest.c -lutil
> -lcrypt -L/home/sblais/dev/trunk/lib -lmyown >&5
> /tmp/ccbdxThZ.o: In function `main':
> conftest.c:(.text+0xc): undefined reference to `openpty'
> collect2: ld returned 1 exit status
> configure:4454: $? = 1

run the same test and see why it fails:
echo 'int main(){return openpty();}' > test.c
powerpc-linux-gcc test.c -lutil
powerpc-linux-gcc 
test.c -lutil -L/home/sblais/dev/trunk/lib -lmyown -Wl,--verbose
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20070804/bec8cc76/attachment.pgp 


More information about the Dropbear mailing list