Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
Ice..., Smc..., XShape...,
Xpm...
) although the same Makefiles are used that worked on an
older Linux system.
Libraries that are needed to link Motif programs are not found. Formerly they
where searched in /usr/X11R6/lib
As remedy there are two possibilities:
Explicit specifications for all required libraries.
gcc -o airport -L/usr/X11R6/lib main.o dragsource.o dropsite.o \ -lXm -lXpm -lXt -lSM -lICE -lXext -lX11 -lm
Use the linker option -rpath-link
, so independent libraries
are independently linked to /usr/X11R6/lib
.
gcc -o airport -L/usr/X11R6/lib main.o dragsource.o dropsite.o \ -lXm -Wl,-rpath-link,/usr/X11R6/lib
Keywords: MOTIF, UNDEFINED SYMBOLS, LINK
Feedback welcome: Send Mail to fehr@suse.de (Please give the following subject: SDB-fehr_motif_2
)
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch