MySQL Lists are EOL. Please join:

List:MySQL and Perl« Previous MessageNext Message »
From:John McDermon Date:December 28 1999 11:09pm
Subject:trouble with Msql-Mysql-modules-1.2210 on HP-UX 10.20
View as plain text  
I've compiled and installed mSQL 2.20.11 using the HP ANSI compilers. (I
can't use gcc for other reasons). So all seemed to go well except for a
few pointer warnings.

This is my setup:
HP-UX 10.20
/usr/bin/cc:
              LINT A.10.32.20 CXREF  A.10.32.20
        HP92453-01 A.10.32.20 HP C Compiler
         /usr/lib/libc: $Revision: 76.3 $


Then I get to installing the Msql-Mysql DBD modules. The Mysql part went
fine, but the mSQL isn't going well. I first had the invalid
redefinition of u_int and ssize_t, but I got past that with the
following make line that I found in the mSQL.pm file.
	perl Makefile.PL --config DEFINE="-DHAVE_SSIZE_T  -DHAVE_U_INT"

But, now I get the following error and this looks beyond me to figure
out.

cc: "mSQL.xs", line 44: warning 527: Integral value implicitly converted
to pointer in assignment.
cc: "mSQL.xs", line 53: warning 527: Integral value implicitly converted
to pointer in assignment.
Running Mkbootstrap for DBD::mSQL ()
chmod 644 mSQL.bs
LD_RUN_PATH="/usr/local/Hughes/lib:/lib/pa1.1" ld -o
../blib/arch/auto/DBD/mSQL/mSQL.sl  -b -s -a shared_archive
-L/usr/local/lib -L/opt/gnu/lib -L/opt/gnu/hppa1.1-hp-hpux10.20/lib
dbdimp.o mSQL.o -L/usr/local/Hughes/lib    -L/usr/local/Hughes/lib
-lmsql -lm 
ld: Invalid loader fixup for symbol "$000000BB".
gmake[1]: *** [../blib/arch/auto/DBD/mSQL/mSQL.sl] Error 1
gmake[1]: Leaving directory
`/cpan/.cpan/build/Msql-Mysql-modules-1.2210/mSQL'
gmake: *** [subdirs] Error 2
daemon@stripped wrote:

Has any one seen this and do you know a fix?

TIA
--John
+-------------------------------------+
| John McDermon  CIC-2, Desktop Group |
| Los Alamos National Lab             |
| VP: 7-7315              Fax: 5-1002 |
+-------------------------------------+
From RedHat Linux 6.1 box
Thread
trouble with Msql-Mysql-modules-1.2210 on HP-UX 10.20John McDermon29 Dec