Segmentation Fault/Core dump

2004-01-30 Thread Leif Johnston
Any thoughts on what might be causing this error? I am runing both on cygwin under 
windows 2000 with 4.0.16 and using gcc to compile, linking  using

 gcc sample.c -o sample.exe -I/usr/include/mysql -L/lib/mysql/opt/ -lmysqlclient 
-lmySQL -lz -lm

I assume that something in the libraries may not be correct or that I need to check 
some other parameter but I am at a loss.

Thanks
Leif

Re: Segmentation Fault/Core dump

2004-01-30 Thread Aftab Jahan Subedar
It will more easier if you post the sample.c.

you can try compiling with -ggdb to debug

Leif Johnston wrote:

Any thoughts on what might be causing this error? I am runing both on cygwin under windows 2000 with 4.0.16 and using gcc to compile, linking  using

 gcc sample.c -o sample.exe -I/usr/include/mysql -L/lib/mysql/opt/ -lmysqlclient -lmySQL -lz -lm

I assume that something in the libraries may not be correct or that I need to check some other parameter but I am at a loss.

Thanks
Leif
--

Aftab Jahan Subedar
CEO/Software Engineer
Subedar Technologies
Subedar Baag
Bibir Bagicha #1
North Jatrabari
Dhaka 1204
Bangladesh
http://www.SubedarTechnologies.com
http://www.DhakaStockExchangeGame.com/
http://www.CEOBangladesh.com/
http://www.NYSEGame.com
tel://+88027519050
EMail://[EMAIL PROTECTED] - Directly to my notebook


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