[sldev] Link errors

morris morris1 at ix.netcom.com
Sun May 20 06:17:26 PDT 2007


Yes, the 'link' command is the wrong command for linux. I have tried ld, gcc 
and g++ since they can all be used to do linking. The real issue though is 
why does the scons come up with 'link' as the linker command and why does the 
whole linker call look like a Windows/MSDOS link command? Where did that come 
from? By editing the linker command that I captured from the error output to 
use ld and changing all the rest of the command to be rational for an ld link 
step, I can get it to try to link but I get about a million errors. There is 
more to this error than just 'ld' vs 'link'. Once again, this is a completely 
unmodified download of the source, library and artwork trees that will not 
link correctly.
Itoku

On Saturday 19 May 2007 19:37, Paul TBBle Hampson wrote:
> On Sat, May 19, 2007 at 06:36:25AM -0700, morris wrote:
> > Thanks for your reply.
> > I edited the link command to change back slashes to forward slashes and
> > the linker still complains about invalid options.
> > I would assume that there is a mismatch between the linker expected by
> > the build and the linker that I have installed. My system shows 'link
> > (GNU coreutils) 5.93' when I do link --version.
> > I went back and verified that I installed all the required packages and I
> > don't see anything that I missed.
> > I also removed the two --options and the linker then complains about
> > other things on the command line, reinforcing the suspicion that some
> > other linker is expected.
> > Itoku
>
> That is because 'link' is the utility for manipulating hard links and
> symlinks on the filesystem.
>
> The command that _should_ be being run is most likely 'ld'.


More information about the SLDev mailing list