This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [crosstool-ng] Issue with ltrace


Thomas, All,

On Monday 01 February 2010 23:18:33 Thomas Petazzoni wrote:
> I just downloaded crosstool-ng 1.6.0 and tried to build the
> arm-unknown-linux-uclibcgnueabi sample. The build fails with:
> [EXTRA]    Building ltrace
> [ERROR]    events.c:95: error: 'PTRACE_EVENT_FORK' undeclared (first use in this function)
> [ERROR]    events.c:95: error: (Each undeclared identifier is reported only once
> [ERROR]    events.c:95: error: for each function it appears in.)
> [ERROR]    events.c:95: error: 'PTRACE_EVENT_VFORK' undeclared (first use in this function)
> [ERROR]    events.c:95: error: 'PTRACE_EVENT_CLONE' undeclared (first use in this function)
> [ERROR]    events.c:97: error: 'PTRACE_GETEVENTMSG' undeclared (first use in this function)
> [ERROR]    events.c:103: error: 'PTRACE_EVENT_EXEC' undeclared (first use in this function)
> [ERROR]    make[2]: *** [events.o] Error 1
> [ERROR]    make[1]: *** [sysdeps/sysdep.o] Error 2
> [ERROR]    Build failed in step 'Installing ltrace'

It just occured to me that I forgot to 'saveconfig' some of the samples
(many of them, actually), after I re-built them... Sigh... That's what
I deserve for rolling out a release at midnight... :-(

> The sample selects ltrace 0.5.2, while a newer version, 0.5.3 is
> available. This newer version seems to have a fix for this issue, in
> the form of a patch already included in crosstool-ng:
>  patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch

Go ahead with ltrace-0.5.3, it should buid (built just OK here).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]