[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recompiling ns: linker error



I would guess you were using a wrong ld which cannot handle elf libraries? 

- Haobo

On Fri, 13 Aug 1999, Huiwen Li wrote:

> Hello,
> 
> Has anyone had such linker error when recompiling ns:
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -R/usr/local/lib -L/usr/local/lib -ltcldbg -R../tclcl-1.0b8 -L../tclcl-1.0b8
> -ltclcl -R../otcl-1.0a4 -L../otcl-1.0a4 -lotcl -R../tkbox/lib -L../tkbox/lib
> -ltk8.0 -R../tclbox/lib -L../tclbox/lib -ltcl8.0   -R/usr/openwin/lib
> -L/usr/openwin/lib -lXext -lX11  -lsocket -lnsl -lintl -ldl -ldl  -lm -ldl
> ld: fatal: file /usr/local/lib/libtcldbg.a: unknown type, unable to process
> using elf(3E) libraries
> ld: fatal: file /usr/local/lib/libtcldbg.a: unknown type, unable to process
> using elf(3E) libraries
> ld: fatal: library -ltcldbg: not found
> ld: fatal: file /usr/local/lib/libXext.a: unknown type, unable to process
> using elf(3E) libraries
> ld: fatal: file /usr/local/lib/libX11.a: unknown type, unable to process
> using elf(3E) libraries
> ld: fatal: File processing errors. No output written to ns
> *** Error code 1
> make: Fatal error: Command failed for target `ns'
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> This is only the last part of compiling. Even I compiled with the original
> ns files without adding any other files, I still had this problem. I am
> wondering if this is the system problem or I unintently changed sth. or it
> is a bug? I did check /usr/local/bin and I could find these libraries (.a
> files). What's wrong???
> 
> Thanks,
> 
> Huiwen
>