On Wed, Feb 14, 2001 at 06:59:04PM +0200, Ragupathi P wrote:
> hi,
> 
>   basically i am reframing my earlier question.
> 
>   i'm using  aCC ( ansic C++ compiler from HP ) on HPUX10.2
>   to compile and link my small C code with libraries available
>   from mysql-3.23.32-hp-hpux10.20-hppa1.1 .
> 
>   i get the following:
>   /usr/ccs/bin/ld: Unsatisfied symbols:
>      mysql_connect (code)
>      mysql_init (code)
> 
> 
>   i wld greatly appreciate if someone can figure out if something
>   is wrong.

Basically you are still not giving us the necessary information.
In my case the mysql_connect() code is in libmysqlclient.a:
ws01 48: nm libmysqlclient.a | grep mysql_connect
mysql_connect       |      6776|extern|entry  |$CODE$
So I would expect the references to be satsified if your link command
finishes with
   aCC [options] [yourmodules] -L/path/to/mysql/libraries -lmysqlclient

If you don't give us the precise command you are using, we cannot help you.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153

---------------------------------------------------------------------
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