Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 1999 00:47:13 -0400
From:      "Sam Stephenson" <sam@conio.net>
To:        <freebsd-questions@freebsd.org>
Subject:   tcl-sql problems
Message-ID:  <NDBBLFFHAKMHCGPCGNFAAEHHCAAA.sam@conio.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBLFFHAKMHCGPCGNFAAEHHCAAA.sam>