Ashok Kumar wrote:
Dear Friends,
 I'm Ashok here. first i'll tell my sys configuration.
1.Redhat-Linux 9
2.Intel Pentium chipset
3.MySQL 4.1 with Development Libraries

 For this i've downloaded the MySQL4.1 under the
specification "Linux x86 RPM downloads" from the site.

 In my system, the MySQL Server is working well. I
tried to run the C program that will make the
connection to the MySQL database and create the user
database and useracc table.
 It's finely working with Windows-VC++. But when i'm
trying to run with Linux gcc, I'm getting lots of
errors. I don't know what's the problem. I've attached
the C-Pgm and the Error info.


[EMAIL PROTECTED] CGI]# gcc -c -I/usr/lib/bcc/include -I/usr/include/mysql 
user.c


is BCC the 8086 compiler ? then I'm not sure gcc can deal with those includes. To get the proper flags, I'll advise you to use the mysql_config program like :
/usr/local/mysql/bin/mysql_config --cflags

(you didn't attach your program, so I can't see what is going on)

--
Philippe Poelvoorde
COS Trading Ltd.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to