make problem

From: Soo Hom (syhom_at_ucsd.edu)
Date: 05/25/04


Date: Tue, 25 May 2004 14:28:36 -0700
To: <dbi-users@perl.org>


 

 

Hello,

 

 

I am attempting to run make on DBD-Oracle-1.15 and I get this fatal
error:

gcc -c -I/export/home/oracle/rdbms/demo
-I/export/home/oracle/rdbms/public -I/export/home/oracle/plsql/public
-I/export/home/oracle/network/public -I/export/home/oracle/rdbms/demo
-I/export/home/oracle/rdbms/public -I/export/home/oracle/rdbms/demo
-I/usr/local/perl5/lib/site_perl/5.8.4/sun4-solaris/auto/DBI
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\"
-fPIC "-I/usr/local/perl5/lib/5.8.4/sun4-solaris/CORE" -DUTF8_SUPPORT
xstmp.c

Oracle.c: In function `XS_DBD__Oracle__db_ora_lob_write':

Oracle.c:874: error: syntax error before '*' token

Oracle.xs:126: error: `data' undeclared (first use in this function)

Oracle.xs:126: error: (Each undeclared identifier is reported only once

Oracle.xs:126: error: for each function it appears in.)

Oracle.xs:131: error: `offset' undeclared (first use in this function)

Oracle.c: In function `XS_DBD__Oracle__db_ora_lob_read':

Oracle.c:971: error: syntax error at '#' token

Oracle.c:971: error: syntax error before "line"

Oracle.xs:193: error: `length' undeclared (first use in this function)

Oracle.xs:202: error: `imp_dbh' undeclared (first use in this function)

Oracle.xs:202: error: `offset' undeclared (first use in this function)

Oracle.c: In function `XS_DBD__Oracle__db_ora_lob_trim':

Oracle.c:1025: error: syntax error at '#' token

Oracle.c:1025: error: syntax error before numeric constant

Oracle.xs:229: error: `imp_dbh' undeclared (first use in this function)

Oracle.xs:229: error: `length' undeclared (first use in this function)

make: *** [xstmp.o] Error 1

 

 

any ideas how to fix this? I have attached the full output.

 

 

 

# /usr/local/perl5/bin/perl -v

 

This is perl, v5.8.4 built for sun4-solaris

 

Copyright 1987-2004, Larry Wall

 

Perl may be copied only under the terms of either the Artistic License
or the

GNU General Public License, which may be found in the Perl 5 source kit.

 

Complete documentation for Perl, including FAQ lists, should be found on

this system using `man perl' or `perldoc perl'. If you have access to
the

Internet, point your browser at http://www.perl.com/, the Perl Home
Page.

 

 

 

 

Soo






Relevant Pages

  • CGI: Premature end of script headers
    ... I've installed AM Lite on an HP-UX 11.0 system running Apache 2 with PERL ... If you think this is a server error, ... syntax error in file amadmin.pl at line 224, next 2 tokens "@file)" ... syntax error in file amadmin.pl at line 241, ...
    (perl.beginners)
  • Re: error when accessing hash of arrays
    ... I am a perl newbie and have a problem which can be reduced to the ... I have a hash-reference of a hash, which values are references to ... is used to index into either an array or a list. ... In my perl, I get the below syntax error first, then the above "requires ...
    (comp.lang.perl.misc)
  • RE: garbage errors when number of characters in script exceeds some number
    ... Please group reply so others can help and be helped, and so your posts ... which may be found in the Perl 5 source kit. ... I am wondering if this is a line ending problem, was the script ever ... This is not a garbage error, you have a syntax error. ...
    (perl.beginners)
  • Image-Imlib2 "build-problem" edit includepath ? (2)
    ... Just found out that this forum seems more ... I've fetched the latest version of Image-Imlib2 and when I run "perl ... Imlib2.xs:12: syntax error before `Image__Imlib2' ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Kalender programm
    ... "Christoph Sünderhauf" wrote in message ... If perl tells you there's a syntax error, ... And declare them when you need them, ...
    (comp.lang.perl.misc)