From owner-freebsd-current@FreeBSD.ORG Mon Oct 6 02:52:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 160FA16A4B3 for ; Mon, 6 Oct 2003 02:52:55 -0700 (PDT) Received: from postoffice.e-easy.com.au (eth0.lnk.e-easy.com.au [203.31.73.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94DCC43FE9 for ; Mon, 6 Oct 2003 02:52:52 -0700 (PDT) (envelope-from chris@e-easy.com.au) Received: from postoffice.aims.com.au (nts-ts1.aims.private [192.168.10.2]) by postoffice.e-easy.com.au with ESMTP id h969qbw3093731 for ; Mon, 6 Oct 2003 20:52:37 +1100 (EST) (envelope-from chris@e-easy.com.au) Received: from ntsts1 by aims.com.au (aims.com.au) (MDaemon.PRO.v6.9.0a.R) with ESMTP id 50-md50000000022.tmp for ; Mon, 06 Oct 2003 20:52:25 +1100 From: "Chris Knight" To: Date: Mon, 6 Oct 2003 20:52:23 +1100 Message-ID: <000201c38bef$8b6f5600$020aa8c0@aims.private> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 Importance: Normal X-Spam-Processed: aims.com.au, Mon, 06 Oct 2003 20:52:25 +1100 (not processed: spam filter disabled) X-Return-Path: chris@e-easy.com.au X-MDaemon-Deliver-To: freebsd-current@freebsd.org X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-4.6 required=4.5 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on firewall.aims.private Subject: ld not sucking in /usr/lib/crt1.o - or is it me? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 09:52:55 -0000 Howdy, I installed 5.1 on my laptop, then synced up to -current as of 8 hours ago. I'm trying to build the 1.5 branch of Firebird (the DBMS), but run into the following error: ld ../temp/static.gpre/gpre/cmd.o ../temp/static.gpre/gpre/cme.o ../temp/static.gpre/gpre/cmp.o ../temp/static.gpre/gpre/c_cxx.o ../temp/static.gpre/gpre/exp.o ../temp/static.gpre/gpre/gpre.o ../temp/static.gpre/gpre/hsh.o ../temp/static.gpre/gpre/int.o ../temp/static.gpre/gpre/int_cxx.o ../temp/static.gpre/gpre/jrdmet.o ../temp/static.gpre/gpre/movg.o ../temp/static.gpre/gpre/msc.o ../temp/static.gpre/gpre/par.o ../temp/static.gpre/gpre/pat.o ../temp/static.gpre/gpre/sqe.o ../temp/static.gpre/gpre/sql.o ../temp/static.gpre/gpre/noform.o ../temp/static.gpre/gpre/gpre_meta.o -o ../gen/firebird/bin/gpre_static -L../gen/firebird/lib -lfbstatic -lfbcom mon -lstdc++ -lcurses -lcrypt -lm -lc -leditline ld: warning: cannot find entry symbol _start; defaulting to 0804dc70 /usr/lib/libc.so: undefined reference to `environ' /usr/lib/libc.so: undefined reference to `__progname' gmake[3]: *** [../gen/firebird/bin/gpre_static] Error 1 gmake[3]: Leaving directory `/u1/scratch/firebird-devel/work/firebird2/src' gmake[2]: *** [gpre_static] Error 2 gmake[2]: Leaving directory `/u1/scratch/firebird-devel/work/firebird2/src' gmake[1]: *** [../gen/firebird/bin/gpre_static] Error 2 gmake[1]: Leaving directory `/u1/scratch/firebird-devel/work/firebird2/src' gmake: *** [firebird] Error 2 *** Error code 2 If I add /usr/lib/crt1.o to the file list it works OK. Any reason why ld isn't pulling this in automatically? Feel free to correct me if I'm missing the obvious and if there's a better way of resolving this. Thanks. Regards, Chris Knight Systems Administrator E-Easy Tel: +61 3 6334 9995 Fax: +61 3 6331 7032 Mob: +61 419 528 795 Web: http://www.e-easy.com.au