Re: Embedded Perl & MQSeries

2004-06-08 Thread Steven N. Hirsch
On Tue, 8 Jun 2004, Nick Ing-Simmons wrote: > >Here's the output from "perl -MExtUtils::Embed -e ccopts": > > > > > > -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias > >-DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong > >-I/usr/local/lib/perl5/

Re: Embedded Perl & MQSeries

2004-06-08 Thread Nick Ing-Simmons
Salman Mohsin <[EMAIL PROTECTED]> writes: > > >all: dispatcher > >dispatcher: dispatcher.o mqseries.o log.o > cc -o dispatcher dispatcher.o mqseries.o log.o -Llib -lmqm `perl >-MExtUtils::Embed -e ldopts` > >dispatcher.o: dispatcher.c mqseries.h bool.h log.h > cc -c dispatcher.c `

Re: Embedded Perl & MQSeries

2004-06-08 Thread Salman Mohsin
I looked at the way I was building my application and I rearranged the command-line so that order is exactly reverse to what it was before (I wasn't sure if the libraries included 1st or last take the precedence). Perl was also using its own "malloc". I re-built perl so that it now uses system's ma

Re: Embedded Perl & MQSeries

2004-06-08 Thread Salman Mohsin
I looked at the way I was building my application and I rearranged the command-line so that order is exactly reverse to what it was before (I wasn't sure if the libraries included 1st or last take the precedence). Perl was also using its own "malloc". I re-built perl so that it now uses system's ma

Re: Embedded Perl & MQSeries

2004-06-08 Thread Salman Mohsin
I looked at the way I was building my application and I rearranged the command-line so that order is exactly reverse to what it was before (I wasn't sure if the libraries included 1st or last take the precedence). Perl was also using its own "malloc". I re-built perl so that it now uses system's ma

Re: Embedded Perl & MQSeries

2004-06-08 Thread Salman Mohsin
I looked at the way I was building my application and I rearranged the command-line so that order is exactly reverse to what it was before (I wasn't sure if the libraries included 1st or last take the precedence). Perl was also using its own "malloc". I re-built perl so that it now uses sys

Re: Embedded Perl & MQSeries

2004-06-04 Thread Nick Ing-Simmons
Salman Mohsin <[EMAIL PROTECTED]> writes: > >That's where the problem started. When I changed my code, compiled/linked >it, and then tried to run it, it core dumped at MQCONN(). Somehow even if >you don't have any Perl related code embedded in your code but still you >linked it with embedded