Newton,

You didn't have any errors while applying the patches? You could try 
to build uClibc first without the patches. 
I never had any problems compiling uClibc myself, just copy the 
Config.i386 to the ./extra/Configs/ directory and make a symlink to 
it with the name "Config" in the root of the uClibc source directory 
should be enough.

Eric Spakman

> Greetings,
> 
> I followed the instruction on "How to build the
> sources against uClibc" and tried to compile the
> uClibc source after downloading and applying the
> patches with the given Config for bering, I ended up
> with following errors:
> 
> gcc -Wall -Wall -Wstrict-prototypes -Wno-trigraphs
> -fno-strict-aliasing -Os -march=i386
> -mpreferred-stack-boundary=2 -falign-functions=1
> -falign-jumps=0 -falign-loops=0 -fno-builtin -nostdinc
>  -I../../../include -iwithprefix include -I. -D_LIBC 
> -DNDEBUG  -fPIC -c alphasort.c -o alphasort.o
> In file included from dirstream.h:30,
>                  from alphasort.c:3:
> ../../../include/pthread.h:163: parse error before
> "__thread"
> ../../../include/pthread.h:165: `pthread_create'
> declared as function returning a function
> ../../../include/pthread.h:165: warning: function
> declaration isn't a prototype
> ../../../include/pthread.h:166: parse error before
> "void"
> ../../../include/pthread.h:591: storage class
> specified for parameter `type name'
> In file included from ../../../include/pthread.h:655,
>                  from dirstream.h:30,
>                  from alphasort.c:3:
> ../../../include/bits/sigthread.h:36: storage class
> specified for parameter `type name'
> make[3]: *** [alphasort.o] Error 1
> make[3]: Leaving directory
> `/bering-uclibc/uClibc/uClibc-0.9.15/libc/misc/dirent'
> make[2]: *** [_dir_dirent] Error 2
> make[2]: Leaving directory
> `/bering-uclibc/uClibc/uClibc-0.9.15/libc/misc'
> make[1]: *** [_dir_misc] Error 2
> make[1]: Leaving directory
> `/bering-uclibc/uClibc/uClibc-0.9.15/libc'
> make: *** [_dir_libc] Error 2
> 
> 
> Any clue why I ended up with this compilation error ?
> I followed every step according to the "How to". 
> 
> Thank you for your help.
> 
> Newton
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> ------------------------------------------------------------------------
> leaf-user mailing list: [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
> 




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to