The problem is that you tried to link an a.outQuote:>Hi,
>I'm getting the following error:
>gcc -Dlinux -b i486-linux -g -I/usr/local/src/xdtp/include -I/usr/include/X11R6
>-o xfilemanager main.o dir.o file.o graph.o action.o menu.o action_move.o
>action_copy.o action_delete.o action_exec.o action_newdir.o single.o grab.o
>folder.o customize.o properties.o workspace.o about.o tar.o merge.o selection.o
>frame_select.o mail_manager.o help.o rename.o trashcan.o main_loop.o
>wse_properties.o fm_dialog.o windows.o action_link.o finfo.o fprop.o sopen.o
>folder_prefs.o Clock.o transform.o automount.o edit.o wm.o wm_window.o wm_map.o
>-L/usr/local/src/xdtp/lib -lXdtp -lxdtp -lFileExt -L/usr/X11R6/lib -lXpm -lXaw
>-lXmu -lXt -lXext -lX11 -lm
>/usr/i486-linux/bin/ld: warning: libSM.so.6, needed by
>/usr/X11R6/lib/libXaw.so, not found
>/usr/i486-linux/bin/ld: warning: libICE.so.6, needed by
>/usr/X11R6/lib/libXaw.so, not found
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcSaveYourselfDone'
>/usr/X11R6/lib/libXt.so: undefined reference to `IceConnectionNumber'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcDeleteProperties'
>/usr/X11R6/lib/libXt.so: undefined reference to `IceProcessMessages'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcRequestSaveYourselfPhase2'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcInteractDone'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcCloseConnection'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcSetProperties'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcOpenConnection'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcInteractRequest'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcModifyCallbacks'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcClientID'
>/usr/X11R6/lib/libXt.so: undefined reference to `SmcGetIceConnection'
>make[2]: *** [xfilemanager] Error 1
>make[2]: Leaving directory `/usr/local/src/xdtp/src/xfilemanager'
>make[1]: *** [all.linux] Error 2
>make[1]: Leaving directory `/usr/local/src/xdtp/src'
>make: *** [all] Error 2
>What do I have to do to get 'ld' to see these files?
executable using the ELF library. If you
wish to produce an a.out binary, replace
the -L/usr/X11R6/lib by /usr/i486-linuxaout/lib
(or where you put your a.out X11 library files).
Or if you want ELF, just delete the -b i486-linuxaout
flag from the compiler and linker lines.
Morris Kwan