[klibc] klibc-1.5.17 build failure on mips

Lei Sun leisun124 at gmail.com
Fri Apr 16 14:42:55 PDT 2010


Nope, I had to use 2.6.31.
I didn't notice this "usr/klibc/../include/sys/socket.h:146: error:
redefinition of typedef 'sa_family_t'" build failure.

 I replaced the socket.h with my kernel's socket.h and added a "socklen_t"
define, it passed building klibc.


Thanks
chris


On Fri, Apr 16, 2010 at 1:55 PM, maximilian attems <max at stro.at> wrote:

> On Fri, Apr 16, 2010 at 01:49:12PM -0700, Lei Sun wrote:
> > Attached is the log with command:
> >
> >  make CROSS_COMPILE=mipsel-linux- ARCH=mips KBUILD_VERBOSE=1
>
> /usr/klibc/../include/sys/socket.h:146: error: redefinition of typedef
> 'sa_family_t'
>
> your linux-2.6 version that you are building against is too old.
> did you try 2.6.32?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/klibc/attachments/20100416/c1d3a195/attachment.htm>


More information about the klibc mailing list