I have reproduced this in my experimental chroot and have attatched the config.log.

Strangely the CFLAGS that dpkg-buildpackage claims to be using do not seem to match up with the on the compiler is complaining about.

dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:530: checking for gcc
configure:643: checking whether the C compiler (gcc -g -O2 -Wall -g  
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I/usr/lib/perl/5.10/CORE   -Wl  -L/usr/local/lib  -L/usr/lib/perl/5.10/CORE 
-lperl -ldl -lm -lpthread -lc -lcrypt) works
configure:659: gcc -o conftest -g -O2 -Wall -g  -D_REENTRANT -D_GNU_SOURCE 
-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.10/CORE    -Wl  -L/usr/local/lib  
-L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt conftest.c  1>&5
cc1: error: unrecognized command line option "-Wl"
configure: failed program was:

#line 654 "configure"
#include "confdefs.h"

main(){return(0);}

Reply via email to