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: libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall' undeclared (first use in this function)


Sasha, All,

On Wednesday 31 March 2010 094303 Sasha Sirotkin wrote:
> I'm trying to compile crosstoll-ng for ARM and I'm getting the following 
> compilation error
> 
> [ALL  ]      CC libc/sysdeps/linux/arm/syscall.os
> [ALL  ]    libc/sysdeps/linux/arm/syscall.c: In function 'syscall':
> [ERROR]    libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall' 
> undeclared (first use in this function)
> [ERROR]    libc/sysdeps/linux/arm/syscall.c:28: error: (Each undeclared 
> identifier is reported only once
> [ERROR]    libc/sysdeps/linux/arm/syscall.c:28: error: for each function 
> it appears in.)
[--SNIP--]
> Config file attached.

With your .config file, I succesfully built the toolchain.

However, you are using your own uclibc.config file, which you did not
provide, so I had to use my own. It is available in the crosstool-NG 1.6.1
release, in samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.1.config.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< O_o >==-- '------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  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]