/usr/i486-linux/bin/ld can not find files that exist!

/usr/i486-linux/bin/ld can not find files that exist!

Post by Morris Kwa » Sat, 16 Mar 1996 04:00:00




Quote:

>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?

The problem is that you tried to link an a.out
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

 
 
 

1. /usr/i486-linux/bin/ld: cannot open -lXt: No such file or directory

Can someone point me to a solution to this 'make' error?

/usr/i486-linux/bin/ld: cannot open -lXt: No such file or directory
make: *** [xltmix] Error 1

It occurs when compiling a program that requires Lesstif. I downloaded
Lesstif, but I am not sure where to put the files in the lesstif
distribution.  Do I copy them to my lib, /usr/lib, or can U use them from
their current home in /usr/local/lesstif/lib?

Thanks,
Jim

2. Socket:ReUse port option for broadcast-port

3. HELP!!:/usr/i486-unknown-linux-gnulibc1/bin/ld: no input files

4. installing on a notebook

5. Compiling and get /usr/i486-linux not found?

6. Printing Reports to DOS Disk

7. /usr/lib/gcc-lib/i386-linux and /usr/lib/gcc-lib/i486-linux

8. Good Vid Card? - plz hlp comp show soon in town!

9. HELP:/usr/i486-linux/bin/ld: cannot open -lX11

10. /usr/ccs/bin/ld Vs. /usr/ucb/ld

11. ld: fatal: file /usr/lib/librt.so.1: version `SUNW_1.3' does not exist