* [Buildroot] [buildroot 0003394]: compilation problem : __NR_socketcall, __NR_ipc undefined...
@ 2008-05-22 9:04 bugs at busybox.net
0 siblings, 0 replies; 4+ messages in thread
From: bugs at busybox.net @ 2008-05-22 9:04 UTC (permalink / raw)
To: buildroot
The following issue has been SUBMITTED.
======================================================================
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: 05-22-2008 02: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
======================================================================
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
======================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [buildroot 0003394]: compilation problem : __NR_socketcall, __NR_ipc undefined...
@ 2008-06-16 10:47 bugs at busybox.net
0 siblings, 0 replies; 4+ messages in thread
From: bugs at busybox.net @ 2008-06-16 10:47 UTC (permalink / raw)
To: buildroot
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: 06-16-2008 03:47 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.
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
======================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [buildroot 0003394]: compilation problem : __NR_socketcall, __NR_ipc undefined...
@ 2008-10-13 10:04 bugs at busybox.net
0 siblings, 0 replies; 4+ messages in thread
From: bugs at busybox.net @ 2008-10-13 10:04 UTC (permalink / raw)
To: buildroot
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
======================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [buildroot 0003394]: compilation problem : __NR_socketcall, __NR_ipc undefined...
@ 2008-10-14 0:00 bugs at busybox.net
0 siblings, 0 replies; 4+ messages in thread
From: bugs at busybox.net @ 2008-10-14 0:00 UTC (permalink / raw)
To: buildroot
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 17:00 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 ?
----------------------------------------------------------------------
hbr_in - 10-13-08 17:00
----------------------------------------------------------------------
Hi,
This happens because a gr8 person renamed a file from
strace-undef-syscall.patch to strace-undef-syscall.patch.avr32. and hence
this patch will only apply for avr32 platform. But this is also needed for
other platform. The gr8 person didnt had time to think so.
This is just a one of the package u have come across. there are other
packages that are suffering becuase of this mindless renames.
P.S: Sorry that i am letting out my anger. i used to download buildroot
everyday to keep myself updated. But everytime i found some baseless
changes/renames done to push everything to avr32. Because of this i had to
scan all the files & make appropriate changes EVERY NOW and THEN.
Small request for people with commit right. Please dont change/rename file
to suit ur platform. Please remember that other people from other platform
also use buildroot.
Regards
Gururaja
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
10-13-08 17:00 hbr_in Note Added: 0013504
======================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-14 0:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22 9:04 [Buildroot] [buildroot 0003394]: compilation problem : __NR_socketcall, __NR_ipc undefined bugs at busybox.net
-- strict thread matches above, loose matches on Subject: below --
2008-06-16 10:47 bugs at busybox.net
2008-10-13 10:04 bugs at busybox.net
2008-10-14 0:00 bugs at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox