Hi!
I've programmed a Search util in C which searches HTML & mSQL databases for
a given keyword. Compiling under SuSE-Linux 6.1 & 6.2 for x86 Processors
works fine, also the program works fine.
If I try to compile the same code under SuSE-Linux 6.1 for AXP Systems
(Alpha Processor), I get constantly the same error when trying to connect
to my mSQL Server : Segmentation Fault.
Here's the code that produces the problem:
int sock;
sock = msqlConnect(NULL);
The msqlConnect() works when no mSQL2D server is running on the Linux
machine. If I start again my msql Server, the segmentation fault error
message appears again. Strange is also the fact that msqlConnect() works
only when using it like this:
msqlConnect(NULL);
This is of course useless, as I cannot work with mSQL without the sock.
Again, the code works very very well under x86 linux, but not on Alpha. I
have rebuilt mSQL several times with no luck. I'm using V2.0.11 both on X86
and AXP Linux.
It seems to be the case that mSQL has some problems running on Alpha
systems, as the
SELECT * FROM mytable where _rowid = <ANYVALUE>
also won't work on Alpha AXP but on X86 linux.
I haven't recieved any email from bambi about this problem, so maybe here
on this list someone has some ideas ?
Sascha 'SieGeL' Pfalz
Programming
Exozet Berlin GmbH
siegel@exozet.com
-------------------------------------------------------------------------
To unsubscribe, go to http://www.Hughes.com.au/extras/email/
This archive was generated by hypermail 2b30 : Mon Mar 04 2002 - 09:04:03 EST