On Thu, 2004-05-20 at 22:20, PerlDiscuss - Perl Newsgroups and mailing
lists wrote:
> I sm trying to install Msql-modules-0.91  I need this module because i
> have many scripts that use "use Msql;" and don't want to
> install DBI::msql because I will have to rewrite code to 1000 scripts. I
> am on a suse 9.1 with perl 5.8.3 The error I get after unpacking and
> running make:
> cc -c  -I/usr/local/Hughes/include
> -I/usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi/auto/DBI
> -I/usr/lib/perl5/5.8.3/i586-linux-thread-multi -D_REENTRANT -D_GNU_SOURCE
> -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall
> -Wall -pipe   -DVERSION=\"1.1704\" -DXS_VERSION=\"1.1704\" -fPIC
> "-I/usr/lib/perl5/5.8.3/i586-linux-thread-multi/CORE"  -DMSQL2 Msql.c
> Msql.xs: In function `XS_Msql__Statement_fetchinternal':
> Msql.xs:274: warning: suggest parentheses around assignment used as truth
> value
> Msql.xs:274: error: `sv_undef' undeclared (first use in this function)

You need to change this to PL_sv_undef.

You can probably do this with a #define.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
[EMAIL PROTECTED]                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html


Reply via email to