![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all; system is uname -a HP-UX crux B.11.00 U 9000/800 12345678 unlimited-user license and i4gl -V IBM INFORMIX-4GL Version 7.32.FC2 Software Serial Number RDS#0000000 I have a library :- /home/it/user_dev/Lib/liba.a :- -rw-r----- 1 user_dev cssprd 175032 Nov 15 13:45 liba.a My program:- MODIFY PROGRAM: 4GL Other Libraries Compile_Options Rename Exit ----------------------- syspgm4gl -------------- Press CTRL-W for Help -------- Program [sdna ] 4gl Source 4gl Source Path [sp_dsc_na ] [ ] Other Source Ext Other Source Path [ ] [ ] [ ] Libraries [a ] Compile Options [ ] Compiling returns:- The following errors were discovered during compilation. ld: Can't find library or mismatched ABI for -la Fatal error. Yup - I know this is probably an `ld` problem and have the environment set to:- LDPATH=/home/it/user_dev/Lib/:/opt_local/infx/current/lib:/opt_local/ infx/current/lib/esql:/opt_local/infx/current/lib/tools:/usr/lib LD_LIBRARY_PATH=same LPATH=same SHRPATH=same |
|
LIB_PATH=same - all I can work out. So command line, `ld sp_dsc_na.o -la` ld: Can't find library or mismatched ABI for -la Fatal error. |
|
Its years since I did any `ar` stuff, so I was wandering what the ABI means ! Or am I not making the library correctly:- ar -tv /home/it/user_dev/Lib/a.a rw-r----- 1376/ 1000 3488 Nov 8 12:45 2007 fgiuser.o rw-r----- 1376/ 1000 2248 Nov 8 12:45 2007 fgiusr.o . . . . . which seems OK to me !! I note the c4gl defaults to "shared", so perhaps my library IS wrong Also the file generated using all .0 files rather than the libarary turns out to be:- sdna.4ge: ELF-64 executable object file - PA-RISC 2.0 (LP64) So !! Any Ideas please. Regards Ian |
#3
| |||
| |||
|
|
system is uname -a HP-UX crux B.11.00 U 9000/800 12345678 unlimited-user license and i4gl -V IBM INFORMIX-4GL Version 7.32.FC2 Software Serial Number RDS#0000000 I have a library :- /home/it/user_dev/Lib/liba.a :- -rw-r----- 1 user_dev cssprd 175032 Nov 15 13:45 liba.a My program:- MODIFY PROGRAM: 4GL Other Libraries Compile_Options Rename Exit ----------------------- syspgm4gl -------------- Press CTRL-W for Help -------- Program [sdna ] 4gl Source 4gl Source Path [sp_dsc_na ] [ ] Other Source Ext Other Source Path [ ] [ ] [ ] Libraries [a ] Compile Options [ ] Compiling returns:- The following errors were discovered during compilation. ld: Can't find library or mismatched ABI for -la Fatal error. Yup - I know this is probably an `ld` problem and have the environment set to:- LDPATH=/home/it/user_dev/Lib/:/opt_local/infx/current/lib:/opt_local/ infx/current/lib/esql:/opt_local/infx/current/lib/tools:/usr/lib LD_LIBRARY_PATH=same LPATH=same SHRPATH=same LIB_PATH=same - all I can work out. So command line, `ld sp_dsc_na.o -la` ld: Can't find library or mismatched ABI for -la Fatal error. Its years since I did any `ar` stuff, so I was wandering what the ABI means ! Or am I not making the library correctly:- ar -tv /home/it/user_dev/Lib/a.a rw-r----- 1376/ 1000 3488 Nov 8 12:45 2007 fgiuser.o rw-r----- 1376/ 1000 2248 Nov 8 12:45 2007 fgiusr.o . . . . . which seems OK to me !! I note the c4gl defaults to "shared", so perhaps my library IS wrong Also the file generated using all .0 files rather than the libarary turns out to be:- sdna.4ge: ELF-64 executable object file - PA-RISC 2.0 (LP64) So !! Any Ideas please. |
#4
| |||
| |||
|
|
I dislike 'either/or' errors - it is so much better to have separate messages for the separate alternatives. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |