Hojla!

Ne vem, ce to sodi ravno striktno sem, vendar ima nekdo tezave pri 
prevajnju programov napisanih v Motifu (lesstif). Ko prevaja mu 
namrec javi naslednje napake:

/tmp/ccLPZncY.o: In function `main':
/tmp/ccLPZncY.o(.text+0x20): undefined reference to `XtVaAppInitialize'
/tmp/ccLPZncY.o(.text+0x32): undefined reference to `XmStringCreateLocalized'
/tmp/ccLPZncY.o(.text+0x45): undefined reference to `_XmStrings'
/tmp/ccLPZncY.o(.text+0x4e): undefined reference to `xmPushButtonWidgetClass'
/tmp/ccLPZncY.o(.text+0x59): undefined reference to `XtVaCreateManagedWidget'
/tmp/ccLPZncY.o(.text+0x6a): undefined reference to `XmStringFree'
/tmp/ccLPZncY.o(.text+0x79): undefined reference to `_XmStrings'
/tmp/ccLPZncY.o(.text+0x82): undefined reference to `XtAddCallback'
/tmp/ccLPZncY.o(.text+0x8e): undefined reference to `XtRealizeWidget'
/tmp/ccLPZncY.o(.text+0x9a): undefined reference to `XtAppMainLoop'
./com: -I/usr/X11R6/include: No such file or directory
./com: -L/usr/X11R6/lib: No such file or directory 
 
kjer je com skripta za prevajanje motif programov in izgleda: 

gcc  $1.cc -I/usr/dt/include -I/usr/include -I/usr/local/include -L/usr/dt/lib 
-L/usr/lib -L/usr/local/lib -lXm -lXt -lX11 -lUil -lMrm -lXi -lXext -lm -o $1

Poti so pravilno nastavljene, kreirane, fajli znotraj njih tudi obstajajo, 
v /etc/ld.so.conf so tudi zahtevane poti....

Napaka verjetno ni ne v skripti niti v programih, ki jih prevaja, saj so 
bili ti prevedeni na razlnicnih racunalnikih z razlicnimi verzijami in 
distribucijami Linux-a. Meni pocasi ze zmanjkuje idej, kaj bi lahko bilo 
narobe. V tem primeru uoprabljeni Linux je Caldera 2.4.

Hvala in lep pozdrav                                    aless

Одговори путем е-поште