Subject: error building perl
To: None <tech-pkg@NetBSD.ORG>
From: borghart steffen <borghart@gmx.de>
List: tech-pkg
Date: 11/23/2004 15:01:09
Hi,
I just installed the pkgsrc system on my slackware 10.0 box (I took the
pkgsrc sources from an cvssnapshot).
The perl58-thread build fails with the following message:

          CCCMD =  gcc -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/pkg/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-pthread -I/usr/pkg/gcc34/include
-I/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/include -I/usr/include
-Wall
gcc -o libperl.so -Wl,-R/usr/pkg/lib  -pthread  -L/usr/pkg/lib perl.o
gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o
hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o
doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o
perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o  -lnsl -ldl
-lm -lcrypt -lutil -lpthread -lc
/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
*** Error code 1


Can anyone please tell me what i did wrong?
Regards, Borghart

-- 
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl
GMX DSL-Netzanschluss + Tarif zum supergŁnstigen Komplett-Preis!