Trying to compile nedit-latest-sources-HEAD

Eddy De Greef degreef at imec.be
Mon Oct 9 12:55:00 CEST 2006


Eric Bouyoux wrote:
> Scott Tringali a écrit :
>> Eric Bouyoux wrote:
>>
>>> /usr/bin/ld: cannot find -lXpm
>>> collect2: ld returned 1 exit status 
>> You should be able to remove -lXpm safely.  Whether you need it or not
>> depends entirely on which Motif you are using.
> I installed libxpm package and it goes a little bit further. Now, I have
> the following error (just a subset) :
> 
> /usr/X11R6/lib/libXm.a(EditresCom.o): In function `_XmEditResCheckMessages':
> EditresCom.c:(.text+0xf2): undefined reference to `_XEditResResetStream'
> EditresCom.c:(.text+0x102): undefined reference to `_XEditResPut8'
> /usr/X11R6/lib/libXm.a(EditresCom.o): In function `BuildEvent':
> EditresCom.c:(.text+0x240): undefined reference to
> `_XEditResGet8'             
> 
> Any idea ?
> 
> Regards.

You probably need to add -lXmu to the LIBS variable in your makefile 
(behind -lXm).

Eddy


More information about the Discuss mailing list