[uClibc 0001326]: syscall for socket functions with kernel headers 2.4

bugs at busybox.net bugs at busybox.net
Sat Sep 15 08:25:24 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1326 
====================================================================== 
Reported By:                Kim Tuan
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1326
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             04-25-2007 03:41 PDT
Last Modified:              09-15-2007 01:25 PDT
====================================================================== 
Summary:                    syscall for socket functions with kernel headers 2.4
Description: 
I cross-compile applications for ARM 920T and while executing them I got a
"-1 ENOSYS (Function not implemented)" error. strace gives :
SYS_281(0x2, 0x2, 0, 0xbffff320, 0x2)   = -1 ENOSYS (Function not
implemented)

It seems that it compiles with wrong values of system call which doesn't
correspond to the the specified kernel headers.

I'm using linux kernel headers 2.4.31, gcc 3.4.6 and uClibc 0.9.28.3. 
====================================================================== 

---------------------------------------------------------------------- 
 Kim Tuan - 04-25-07 08:21  
---------------------------------------------------------------------- 
What I didn't do is to specify kernel headers path for uclibc. A solution
is do a make uclibc-menuconfig and rebuild the entire buildroot. With a
'make clean' followed by a 'make', the cross compiler is properly built
and each call of socket functions work. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-25-07 03:41  Kim Tuan       New Issue                                    
04-25-07 03:41  Kim Tuan       Status                   new => assigned     
04-25-07 03:41  Kim Tuan       Assigned To               => uClibc          
04-25-07 08:21  Kim Tuan       Note Added: 0002331                          
09-15-07 01:25  vapier         Status                   assigned => closed  
09-15-07 01:25  vapier         Resolution               open => no change
required
======================================================================




More information about the uClibc-cvs mailing list