libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall' undeclared (first use in this function)

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Wed Mar 31 11:29:00 GMT 2010


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



More information about the crossgcc mailing list