On Sat, 27 Jan 2001, Marcelo wrote:
>  Thanks for your help, but i needed a
> litle more help, I tried to do that and
> it almost worked bu i still got this
> error
>
> gcc -O2 -g -o mysql1
> mysql.c -L/usr/local/mysql/lib -lmysqlcl
> ient -lnsl -lgthreads -lz -lcrypt -lsock
> et -lm

You may need to move -lgthreads and do

-lgthreads -lsocket -lgthreads -lm

>
> Undefined                       first
> referenced
> symbol                             in
> file
> main
> /usr/ccs/lib/crt1.o
> mysql1: fatal error: Symbol referencing
> errors. No output written to mysql1
> collect2: ld returned 1 exit status
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>

--
Boyd Gerber <[EMAIL PROTECTED]>
ZENEZ   3748 Valley Forge Road, Magna Utah  84044
Office 801-250-0795 FAX 801-250-7975


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to