From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0003394]: compilation problem : __NR_socketcall, __NR_ipc undefined...
Date: Mon, 13 Oct 2008 03:04:01 -0700 [thread overview]
Message-ID: <cb0828ece51af19f732cf779703bad26@busybox.net> (raw)
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=3394
======================================================================
Reported By: rk_appan
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 3394
Category: Architecture Specific
Reproducibility: always
Severity: block
Priority: normal
Status: assigned
======================================================================
Date Submitted: 05-22-2008 02:04 PDT
Last Modified: 10-13-2008 03:04 PDT
======================================================================
Summary: compilation problem : __NR_socketcall, __NR_ipc
undefined...
Description:
I am building uClibc(0.9.29), when i enable the strace for the target, i am
getting the following errors. target is arm926t with EABI support.
please provide me inputs as how to get out of this problem..
syscall.c: In function 'get_scno':
syscall.c:1051: warning: passing argument 4 of 'ptrace' makes integer from
pointer without a cast
syscall.c:1080: warning: passing argument 4 of 'ptrace' makes integer from
pointer without a cast
syscall.c: In function 'syscall_fixup':
syscall.c:1350: warning: unused variable 'pid'
syscall.c: In function 'syscall_enter':
syscall.c:1928: warning: unused variable 'pid'
syscall.c: In function 'trace_syscall':
syscall.c:2408: error: '__NR_socketcall' undeclared (first use in this
function)
syscall.c:2408: error: (Each undeclared identifier is reported only once
syscall.c:2408: error: for each function it appears in.)
syscall.c:2412: error: '__NR_ipc' undeclared (first use in this function)
make[2]: *** [syscall.o] Error 1
make[2]: Leaving directory `/home/kans/buildroot/build_arm/strace-4.5.15'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kans/buildroot/build_arm/strace-4.5.15'
make: *** [/home/kans/buildroot/build_arm/strace-4.5.15/strace] Error 2
======================================================================
----------------------------------------------------------------------
tklas - 06-16-08 03:47
----------------------------------------------------------------------
I had the same problem. You can try my workaround patch attached above.
Copy this file to buildroot/package/strace/ and rebuild.
----------------------------------------------------------------------
tpetazzoni - 10-13-08 03:04
----------------------------------------------------------------------
I confirm that the problem still exists and that the patch fixes the
issue.
Is it possible to integrate this patch in Buildroot SVN ?
Issue History
Date Modified Username Field Change
======================================================================
05-22-08 02:04 rk_appan New Issue
05-22-08 02:04 rk_appan Status new => assigned
05-22-08 02:04 rk_appan Assigned To => buildroot
06-16-08 03:45 tklas File Added:
strace-armeabi_undefined_syscalls.patch
06-16-08 03:47 tklas Note Added: 0008284
10-13-08 03:04 tpetazzoni Note Added: 0013414
======================================================================
next reply other threads:[~2008-10-13 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 10:04 bugs at busybox.net [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-10-14 0:00 [Buildroot] [buildroot 0003394]: compilation problem : __NR_socketcall, __NR_ipc undefined bugs at busybox.net
2008-06-16 10:47 bugs at busybox.net
2008-05-22 9:04 bugs at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cb0828ece51af19f732cf779703bad26@busybox.net \
--to=bugs@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox