From owner-freebsd-current Wed Jun 24 00:14:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA21109 for freebsd-current-outgoing; Wed, 24 Jun 1998 00:14:03 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from trinity.radio-do.de (fn@trinity.Radio-do.de [193.101.164.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA21082 for ; Wed, 24 Jun 1998 00:13:44 -0700 (PDT) (envelope-from fn@trinity.radio-do.de) Received: (from fn@localhost) by trinity.radio-do.de (8.8.8/8.8.5/RADIO-1.1) id JAA07954; Wed, 24 Jun 1998 09:13:30 +0200 (CEST) Message-ID: <19980624091330.B7852@radio-do.de> Date: Wed, 24 Jun 1998 09:13:30 +0200 From: Frank Nobis To: Cory Kempf , freebsd-current@FreeBSD.ORG Subject: Re: Anyone built kpilot lately? References: <199806232230.SAA17277@singularity.enigami.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.91.1i In-Reply-To: <199806232230.SAA17277@singularity.enigami.com>; from Cory Kempf on Tue, Jun 23, 1998 at 06:30:34PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 23, 1998 at 06:30:34PM -0400, Cory Kempf wrote: > > When I try and build kpilot from ports, I get the following, which > doesn't make any sense (-lc should be done automatically by using the > compiler as the linker). > > Any clues how to fix? Or even what the real problem is? I had this problem too a few days ago, but no time to report about it. I put some -lc statements per hand in various generated Makefiles. > FWIW, I am running a -current as of today or so... > > > c++ -O -pipe -s -o kpilot -L/usr/local/lib -L/usr/X11R6/lib -L/usr/ports/comms/kpilot/work/kpilot-3.0.2/kpilot/libpilot/_libs kpilot.o kpilotlink.o fileInstallWidget.o pilotMemo.o memoWidget.o pilotComponent.o kpilotOptions.o messageDialog.o pilotSerialDatabase.o pilotLocalDatabase.o pilotRecord.o pilotAddress.o addressWidget.o strToken.o addressEditor.o addressEditorData.o pilotDateEntry.o logFile.o conduitSetup.o -lkfile -lkfm -lkdeui -lkdecore -lqt -lX11 -lXext -lpisock IMHO there is a difference when putting -lc in front of all object files. When using -lc the linker will run through libc two times. This may be the point, thince kpilot explicitly make use of the standard lib. For pure c++ programms I never needed -lc. > kpilot.o: Undefined symbol `_mkdir' referenced (use -lc ?) > kpilotlink.o: Undefined symbol `_read' referenced (use -lc ?) Gruß Frank -- Frank Nobis Email: PGP AVAILABLE Landgrafenstr. 130 dg3dcn http://www.radio-do.de/~fn/ 44139 Dortmund Powered by FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message