bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: struct rusage redefinition issues on ppc - gnu time-1.7


From: Bob Proulx
Subject: Re: struct rusage redefinition issues on ppc - gnu time-1.7
Date: Fri, 28 Jun 2013 18:40:23 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Aijaz Baig wrote:
> I've tried your suggestion but it still does not work.

You say it didn't work but it does appear to have fixed your original
problem.  You said:

> The build fails with an error at resuse.h:44:error: redefinition of 'struct 
> rusage'.

That doesn't happen anymore in your current build log that you shared
with us.  Therefore that original problem is fixed.  Right?

> Heres the build log for the same:
> ...
> powerpc-wrs-linux-gnu-gcc 
> -L/tcs_space/Aijaz/export/sysroot/fsl_p4080-glibc_cgl/sysroot/usr/lib -o time 
> time.o getopt.o getopt1.o error.o resuse.o version.o
> /opt/WindRiver_4_3/wrlinux-4/layers/updates/RCPL-4.3-WRL.0015/wrll-toolchain-4.4a-418/powerpc/toolchain/x86-linux2/bin/../lib/gcc/powerpc-wrs-linux-gnu/4.4.1/../../../../powerpc-wrs-linux-gnu/bin/ld:
>  crt1.o: No such file: No such file or directory

This is now a different error than before.  Here all of the object
files have been compiled and it has progressed onto the link phase.
In the link phase it is complaining:

  crt1.o: No such file: No such file or directory

That is the C runtime library.  I don't know why your cross-compile
system would not be locating that file for the final link.  But that
is where you need to look for your next problem.  It should be able to
automatically link that file.  However if this is an embedded system
compiler then often for embedded systems you don't want any crt1.o
linked with the program and other special handling must be used.  I
don't know.  This problem is something specific to your build
environment.

Bob


> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you

READ CAREFULLY.  By reading this email, you agree, on behalf of your
employer, to release me from all obligations and waivers arising from
any and all NON-NEGOTIATED agreements, licences, terms-of-service,
shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure,
non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I
have entered into with your employer, its partners, licensors, agents
and assigns, in perpetuity, without prejudice to my ongoing rights and
privileges.  You further represent that you have the authority to
release me from any BOGUS AGREEMENTS on behalf of your employer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]