Kompilace na HP-UX nenajde knihovnu

Jardaa

Kompilace na HP-UX nenajde knihovnu
« kdy: 16. 10. 2013, 10:45:32 »
Ahoj,

Nenašel by se tu nějaký odborník na kompilaci c pod HP-unixem?
na jednom serveru mám nainstalované gcc a tam jede vše v pohodě. Na druhém serveru zkouším používat cc a není možné spustit sdílenou knihovnu s pro mě nic neříkající hláškou Unable to find library '/usr/lib/nls/loc/hpux64/locales.1/C

Zde jsou kompilační příkazy:
Kód: [Vybrat]
cc -v -c +z +DD64 -o $MQ_LOG_HOME/src/mqlog_exit_api/mqlog_exit_api.o $MQ_LOG_HOME/src/mqlog_exit_api/mqlog_exit_api.c -I$MQ_LOG_HOME/include -I/opt/mqm/inc -lc -lm -lXm
Kód: [Vybrat]
ld -v -b -o $MQ_LOG_HOME/bin/mqlog_exit_api_ $MQ_LOG_HOME/src/mqlog_exit_api/mqlog_exit_api.o +ee MQStart
Zkoušel jsem tam pro jistotu přidávat i knihovny pro c přes -l

Zde je výpis kompilace s parametrem -v:
Kód: [Vybrat]
compile
 /usr/ccs/lbin/ctcom -ia64abi all -architecture 64 -ext on -lang c -exception off -inline_power 0 -link_type dynamic -fpeval float -tls_dyn on -o /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o -target_os 11.23 -I/opt/mqm/mqlog/include -I/opt/mqm/inc -I/usr/local/include -I/usr/include -I/usr/include -D__hpux -D__unix -D__ia64=1 -D_BIG_ENDIAN=1 -D_LP64 -D__LP64__ -D__unordered= -D__synchronous= -D__non_sequential= -D__side_effect_free= -D__HP_cc=55000 -D__STDC_EXT__ -D_HPUX_SOURCE -D_INCLUDE_LONGLONG -D_INLINE_ASM -D_BIND_LIBCALLS -D_Math_errhandling=MATH_ERREXCEPT -D_FLT_EVAL_METHOD=0 -plusolistoption -Ol06const! -plusolistoption -Ol13aggressive! -plusooption -Oq01,al,ag,cn,sz,ic,vo,Mf,Po,es,rs,Rf,Pr,sp,in,cl,om,vc,pi,fa,pe,rr,pa,pv,nf,cp,lx,Pg,ug,lu,lb,uj,dn,sg,pt,kt,em,np,ar,rp,dl,fs,bp,wp,pc,mp,lr,cx,cr,pi,so,Rc,fa,ft,fe,ap,st,lc,Bl,ib,pl,sd,ll,rl,dl,Lt,ol,fl,lm,ts,rd,dp,If! /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.c
ld -v -b -o /opt/mqm/mqlog/bin/mqlog_exit_api_ /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o +ee MQStart
LPATH is :
Loading /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o:
/opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o:
    MQStart is DEFINED GLOBAL FUNC
    GetTimeLocal is DEFINED GLOBAL FUNC
    time is UNDEF GLOBAL FUNC
    localtime is UNDEF GLOBAL FUNC
    storeLogEntry is DEFINED GLOBAL FUNC
    fwrite is UNDEF GLOBAL FUNC
    fflush is UNDEF GLOBAL FUNC
    prepLogEntry is DEFINED GLOBAL FUNC
    sprintf is UNDEF GLOBAL FUNC
    __milli_strstr is UNDEF GLOBAL FUNC
    __milli_memcpy is UNDEF GLOBAL FUNC
    GetBefore is DEFINED GLOBAL FUNC
    GetBeforeDataConv is DEFINED GLOBAL FUNC
    GetAfter is DEFINED GLOBAL FUNC
    PutBefore is DEFINED GLOBAL FUNC
    PutAfter is DEFINED GLOBAL FUNC
    Put1Before is DEFINED GLOBAL FUNC
    Put1After is DEFINED GLOBAL FUNC
    DiscBefore is DEFINED GLOBAL FUNC
    DiscAfter is DEFINED GLOBAL FUNC
    Terminate is DEFINED GLOBAL FUNC
    fclose is UNDEF GLOBAL FUNC
    remove is UNDEF GLOBAL FUNC
    rename is UNDEF GLOBAL FUNC
    free is UNDEF GLOBAL FUNC
    EntryPoint is DEFINED GLOBAL FUNC
    calloc is UNDEF GLOBAL FUNC
    getenv is UNDEF GLOBAL FUNC
    trimRightWhitespace is UNDEF GLOBAL FUNC
    fopen is UNDEF GLOBAL FUNC
    MQXEP is UNDEF GLOBAL FUNC
/opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o:
    section .IA_64.unwind_info PROGBITS A 24 8 added to text segment
    section .text PROGBITS AX 16 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 40 8 added to text segment
    section .text PROGBITS AX 208 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 32 8 added to text segment
    section .text PROGBITS AX 272 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 48 8 added to text segment
    section .text PROGBITS AX 1856 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 32 8 added to text segment
    section .text PROGBITS AX 160 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 32 8 added to text segment
    section .text PROGBITS AX 160 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 40 8 added to text segment
    section .text PROGBITS AX 272 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 32 8 added to text segment
    section .text PROGBITS AX 144 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 40 8 added to text segment
    section .text PROGBITS AX 272 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 32 8 added to text segment
    section .text PROGBITS AX 144 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 40 8 added to text segment
    section .text PROGBITS AX 272 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 24 8 added to text segment
    section .text PROGBITS AX 80 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 24 8 added to text segment
    section .text PROGBITS AX 80 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 40 8 added to text segment
    section .text PROGBITS AX 1136 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 40 8 added to text segment
    section .text PROGBITS AX 3488 16 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .data PROGBITS AW 3792 16 added to data segment
    section .rodata PROGBITS A 127 16 added to text segment
    section .rodata PROGBITS A 0 8 added to text segment
    section .HP.opt_annot PROGBITS A 473 8 added to text segment
    section .debug_procs_abbrev PROGBITS  45 1 added to nonsegment segment
    section .debug_procs_info PROGBITS  692 1 added to nonsegment segment
    section .debug_line PROGBITS  948 8 added to nonsegment segment
    section .debug_actual PROGBITS  1391 8 added to nonsegment segment
    section .note NOTE  688 8 added to note segment
Searching library /usr/lib/hpux64/libcres.a:
Selecting /usr/lib/hpux64/libcres.a[memmove.o] to resolve __milli_memcpy
Loading /usr/lib/hpux64/libcres.a[memmove.o]:
/usr/lib/hpux64/libcres.a[memmove.o]:
    __milli_memcpy is DEFINED GLOBAL FUNC
    __milli_memmove is DEFINED GLOBAL FUNC
    __memmove_ver is UNDEF GLOBAL NOTYPE
    memmove is UNDEF GLOBAL FUNC
/usr/lib/hpux64/libcres.a[memmove.o]:
    section .text PROGBITS AX 8736 32 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .IA_64.unwind_info PROGBITS A 40 8 added to text segment
Selecting /usr/lib/hpux64/libcres.a[strstr.o] to resolve __milli_strstr
Loading /usr/lib/hpux64/libcres.a[strstr.o]:
/usr/lib/hpux64/libcres.a[strstr.o]:
    __milli_strstr is DEFINED GLOBAL FUNC
/usr/lib/hpux64/libcres.a[strstr.o]:
    section .IA_64.unwind_info PROGBITS A 32 8 added to text segment
    section .text PROGBITS AX 240 32 added to text segment
    section .IA_64.unwind UNWIND A 24 8 added to text segment
    section .rodata PROGBITS A 0 8 added to text segment
    section .HP.opt_annot PROGBITS A 24 8 added to text segment
    section .debug_procs_abbrev PROGBITS  45 1 added to nonsegment segment
    section .debug_procs_info PROGBITS  171 1 added to nonsegment segment
    section .debug_line PROGBITS  152 8 added to nonsegment segment
    section .debug_actual PROGBITS  82 8 added to nonsegment segment
    section .note NOTE  800 8 added to note segment
Searching library /usr/lib/hpux64/milli.a:
ld: (Warning) Unsatisfied symbol "calloc" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "memmove" in file /usr/lib/hpux64/libcres.a[memmove.o]
ld: (Warning) Unsatisfied symbol "remove" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "rename" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "getenv" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "sprintf" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "fflush" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "fopen" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "fclose" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "MQXEP" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "fwrite" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "__memmove_ver" in file /usr/lib/hpux64/libcres.a[memmove.o]
ld: (Warning) Unsatisfied symbol "free" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "trimRightWhitespace" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "time" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
ld: (Warning) Unsatisfied symbol "localtime" in file /opt/mqm/mqlog/src/mqlog_exit_api/mqlog_exit_api.o
16 warnings.
« Poslední změna: 16. 10. 2013, 14:02:39 od Petr Krčmář »