All pastes #160368 Raw Edit

Mine

public text v1 · immutable
·published 2006-09-04 05:01 UTC
rendered paste body
Operating system name? [freebsd]
Operating system version? [4.11-release-p17]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/lib /usr/local/lib]
What is the file extension used for shared libraries? [so]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lnsl -lgdbm -ldb -lm -lcrypt -lutil]
What optimizer/debugger flag should be used? [-O -pipe ]
cc1: Invalid option `-Wdeclaration-after-statement'
Any additional cc flags?
[-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[ -Wl,-E -L/usr/local/lib]
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

        cc -o try -O -pipe -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -Wl,-E -L/usr/local/lib try.c -lnsl -lgdbm -ldb -lm -lcrypt -lutil
         ./try

and I got the following output:

/usr/lib/libnsl.so: undefined reference to `getenv@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `free@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `inet_addr@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `getsockname@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_string@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `getpid@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__dcgettext@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `realloc@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `fcntl@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdrstdio_create@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `getdomainname@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `readv@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_u_int@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `inet_ntoa@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `svcerr_decode@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `rpc_createerr@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `authdes_create@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `xdr_u_char@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdrmem_create@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `calloc@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_bytes@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_opaque@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `clntudp_bufcreate@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__mempcpy@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `get_myaddress@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `ioctl@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_uint32_t@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `xdr_enum@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `authunix_create_default@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `svc_getreq_poll@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `sprintf@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_netobj@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `fputc@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__strndup@GLIBC_2.2'
/usr/lib/libnsl.so: undefined reference to `__rpc_thread_svc_pollfd@GLIBC_2.2.3'
/usr/lib/libnsl.so: undefined reference to `close@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_free@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__strdup@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `memcpy@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `snprintf@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `ctime@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `dcgettext@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `geteuid@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xprt_unregister@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_void@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_sizeof@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `gethostname@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__poll@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `open@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `time@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__strtol_internal@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `fputs@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `malloc@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `clnt_perror@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `exit@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `fclose@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `stdout@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `host2netname@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `svc_sendreply@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__rpc_thread_svc_max_pollfd@GLIBC_2.2.3'
/usr/lib/libnsl.so: undefined reference to `svcudp_bufcreate@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `svcerr_noproc@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `fprintf@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_array@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `perror@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `clnt_pcreateerror@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `clntudp_create@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_bool@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `socket@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__errno_location@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `svctcp_create@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `_libc_intl_domainname@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `authdes_pk_create@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `stderr@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `__stpcpy@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `clnttcp_create@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `clnt_create@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_pmap@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `svcerr_systemerr@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_u_short@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `key_secretkey_is_set@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `syslog@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `fopen@GLIBC_2.1'
/usr/lib/libnsl.so: undefined reference to `xdr_int@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `printf@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `svc_register@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `abort@GLIBC_2.0'
/usr/lib/libnsl.so: undefined reference to `xdr_pointer@GLIBC_2.0'
I can't compile the test program.
You have a BIG problem.  Shall I abort Configure [y]
Ok.  Stopping Configure.
===>  Script "Configure" failed unexpectedly.
Please report the problem to tobez@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5.8/work/perl-5.8.8/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/lang/perl5.8.
[root@oblivion /usr/ports/lang/perl5.8]$