I am having a major problem building DBI-1.25 at the moment. Because we are using multi-threaded Oracle I am having to use threaded perl (5.6.1) which I have built after a bit of a struggle.
I am at the moment building DBI 1.25 and am getting the following error: cc -c +z -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"1.25\" -DXS_VERSION=\"1.25\" +z -I/opt/perl5/lib/5.6.1/PA-RISC2.0-thread/CORE DBI.c cc: "DBI.xs", line 1284: error 1588: "thr" undefined. cc: "DBI.xs", line 1284: error 1532: Reference through a non-pointer. cc: "DBI.xs", line 1284: warning 563: Argument #2 is not the correct type. cc: "DBI.xs", line 1286: error 1532: Reference through a non-pointer. cc: "DBI.xs", line 1286: error 1532: Reference through a non-pointer. cc: "DBI.xs", line 1286: error 1532: Reference through a non-pointer. cc: "DBI.xs", line 1286: error 1532: Reference through a non-pointer. cc: "DBI.xs", line 1286: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "DBI.xs", line 1286: error 1532: Reference through a non-pointer. cc: "DBI.xs", line 1286: error 1532: Reference through a non-pointer. cc: "DBI.xs", line 1286: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "DBI.xs", line 1286: error 1532: Reference through a non-pointer. cc: "DBI.xs", line 1286: warning 563: Argument #2 is not the correct type. cc: "DBI.xs", line 1286: warning 604: Pointers are not assignment-compatible. cc: "DBI.xs", line 1286: warning 563: Argument #3 is not the correct type. cc: "DBI.xs", line 1286: error 1552: First expression of ?: must be arithmetic. *** Error exit code 1 Stop. This is reminiscent of a problem which occured in 1.21 which required the addition of dTHR; to the top of the function that returns the error but for the life of me I cannot see where to do this! We are using HP-UX 11, MT Perl 5.6.1 and HP's ansi C compiler Pyers Symon
