From owner-freebsd-questions Wed Aug 11 21:40:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from aeolus.conio.net (ci221559-a.grnvle1.sc.home.com [24.4.122.122]) by hub.freebsd.org (Postfix) with SMTP id D02F215684 for ; Wed, 11 Aug 1999 21:40:21 -0700 (PDT) (envelope-from sam@conio.net) Received: (qmail 43289 invoked from network); 12 Aug 1999 04:47:06 -0000 Received: from ci221559-b.grnvle1.sc.home.com (HELO thanatos) (24.4.122.130) by ci221559-a.grnvle1.sc.home.com with SMTP; 12 Aug 1999 04:47:06 -0000 From: "Sam Stephenson" To: Subject: tcl-sql problems Date: Thu, 12 Aug 1999 00:47:13 -0400 Message-ID: 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 IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to compile the tcl-sql Tcl package, which is said to work with FreeBSD 3.0 on its web page (http://www.binevolve.com/~tdarugar/tcl-sql/). After editing the Makefile to suit my configuration, I attempt a make and get errors: % gmake cc -c -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/include/t cl8.0 -fPIC -o obj/sql-mysql.o sql-mysql.cc cc -c -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/include/t cl8.0 -fPIC -o obj/sql.o sql.cc cc -c -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/include/t cl8.0 -fPIC -o obj/sql-manager.o sql-manager.cc g++ obj/sql-mysql.o obj/sql.o obj/sql-manager.o -L/usr/local/lib/mysql -lmysqlclient -L/usr/local/lib -lt cl80 -L/usr/lib -lg++ -lstdc++ -lm -lgcc_pic -o sql.so /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x69): undefined reference to `main' gmake: *** [sql.so] Error 1 % uname -a FreeBSD aeolus.conio.net 3.2-STABLE FreeBSD 3.2-STABLE #8: Thu Jun 17 15:23:49 EDT 1999 sam@aeolus.conio.net:/usr/src/sys/compile/SAM i386 % Has anyone been able to get this to compile? If so, what am I doing wrong? And would it be possible to turn this into a port if it does compile? Regards, Sam Stephenson sam@conio.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message