Glibc 2.3.2 and gcc 3.3

Nick Hudson nhudson2367 at earthlink.net
Thu May 15 06:36:56 GMT 2003


I really dont know if this helps any but the 2.5.67 kernel compiles fine 
under gcc3.3 so maybe we can look at that to fix the problem?



Jasper Huijsmans wrote:

>I just found this:
>
>http://www.ussg.iu.edu/hypermail/linux/kernel/0305.1/2288.html
>
>So according to this mail, the correct solution is to make it 
>
>  static __inline__ ...
>
>instead of extern.
>
>works fine for me
>
>
>On Thu, 15 May 2003 11:18:23 +0200
>Jasper Huijsmans <jasper at moongroup.com> wrote:
>
>  
>
>>I'll just continue this thread with more gcc 3.3 stuff.
>>
>>I can't build linux 2.4.20, but I can build 2.4.21-rc2 with one
>>adjustment:
>>
>>in net/core/rtnetlink.c, line 397, there is a function definition for 
>>
>>====
>>
>>extern __inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
>>{
>>...
>>
>>====
>>
>>I had to change it to make the linker find it:
>>
>>====
>>
>>extern __inline__ int rtnetlink_rcv_skb(struct sk_buff *skb);
>>
>>__inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
>>{
>>...
>>
>>====
>>
>>	Jasper
>>
>>
>>On Thu, 15 May 2003 02:05:41 +0200
>>Niki Guldbrand <nikig at vip.cybercity.dk> wrote:
>>
>>    
>>
>>>-----BEGIN PGP SIGNED MESSAGE-----
>>>Hash: SHA1
>>>
>>>Hi all.
>>>
>>>The issue with glibc 2.3.2 not want ot be compilled by gcc 3.3 has
>>>been fix and the fix has been added to the moonbase...
>>>
>>>It's a simple little patch... (Only one function needs to be
>>>fixed..) This issue has been fix in glibc cvs repository the 3rd of
>>>may.
>>>
>>>The function format has been changed for the new gcc
>>>
>>>int name( arg1, arg2 )
>>>  int arg1;
>>>  int arg2;
>>>{
>>>  blah;
>>>  blah;
>>>}
>>>
>>>Is not allowed any more, and there for this format has to be used
>>>instead
>>>
>>>int name ( int arg1, int arg2 )
>>>{
>>>  blah;
>>>  blah;
>>>}
>>>
>>>I hope you get the idea ;o)
>>>
>>>
>>>Happy hacking ppl...
>>>
>>>Niki Guldbrand
>>>-----BEGIN PGP SIGNATURE-----
>>>Version: GnuPG v1.2.2 (GNU/Linux)
>>>
>>>iD8DBQE+wtnVljJ8M8hBdegRApXnAKCEp1eJMEf/vH5AVGcvForwUAlGAQCfSwKY
>>>HmGZRWKaC57K6+O9geGE+vM=
>>>=hmf2
>>>-----END PGP SIGNATURE-----
>>>_______________________________________________
>>>Lunar-dev mailing list
>>>Lunar-dev at lunar-linux.org
>>>http://lunar-linux.org/mailman/listinfo/lunar-dev
>>>      
>>>
>>_______________________________________________
>>Lunar-dev mailing list
>>Lunar-dev at lunar-linux.org
>>http://lunar-linux.org/mailman/listinfo/lunar-dev
>>    
>>
>_______________________________________________
>Lunar-dev mailing list
>Lunar-dev at lunar-linux.org
>http://lunar-linux.org/mailman/listinfo/lunar-dev
>
>  
>


-- 
------------

Nick Hudson


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.1 (GNU/Linux)

mQGiBD4GhRQRBACeFUNC3rXyQcyPQdm7f3CGGoPGQqhpdJeyftmJPaYtFBnbJRR/
YhQkNU4XoBnSXfgzCIjbjz8fVleDhIlkk5CoSMgJONv1BrvHUIn5BLCu7I9tD2tQ
PY3b7+DwWhKZjoYwWqPsmQPyPnBz7obgtZMRKAwuESNxjh/CGwmUDoxQDwCg+GyA
inmHJEPotffkXMlaAsqCfJMD/0XSY592j7aiDYB04iOIykRclNltJMJYZCZX8QVN
8a7Ptece8sy7sJiWFihoMfbHm7xfroWEyZ0hTCfSYWGo8bwN3pK67TjHZ/f0FIMJ
rgvexIbYR0ZPhaGs18rje3JsDNGzJ3lIURmh4qZcde/GsX7fpPSJquXA+Efs6uTP
q0f2A/9uppHFwmScjQjhbb+F+Wg8sngbbjP1mORlhIi9OXLnZFnAxr3QDsztR9jZ
qlsbFGLg7YJhfBsGnhzNZxwTtp1iOO7ZcUk40MPlLeCYU8oW2Ksxyf99Rl5/ZSpr
eKHgPZdF0k835XQhupJ3iXvXSiW/iCSJjjfCqV6bm3J3D2iqYrQnTmljayBIdWRz
b24gPG5odWRzb24yMzY3QGVhcnRobGluay5uZXQ+iFkEExECABkFAj4GhRQECwcD
AgMVAgMDFgIBAh4BAheAAAoJEOlTptWI6Qo03TIAoM6ggLGNU08sxJ6aFQ+752+L
HOh2AJ90QyrDszXyI2FThK7n3jj6WkfVTLkBDQQ+BoUXEAQAka+jjn2Rkxwl7Pp0
dkV62RBGf+Ym6MX0Aq26v7RoV6o8ONpzVzh/CXmLaVlK/S9tC297li7bwedUJ4J0
CRsvTR1V6DNpgihQIjBBgPa/NR98nfz+H/W4SAgRTb000iuqL7QNZAwyQSoEOGau
GmdqspnPNcsZ8H1wC7cipG7wipsAAwYD/RDCLoHy0DmmMmlqZBBL99lf0rpLIPhR
E8bNBa75T4RE8FVADa4FnNVJJ5ioFn7I0iI6ansrvmugLLDUqkF1IvRArib7sqCu
vZZa+6JruRkujovjA8H2PqE1YYQiZMOObu3dDjXivyVQwwXE/4tTVk9QT98nLwU3
QgYunIHtss2+iEYEGBECAAYFAj4GhRcACgkQ6VOm1YjpCjTrCgCfdXzlxc3lEx3z
LUi+hr+76ljhr6MAn0fcJpTELeCp2IdTDBJoLRplLq2b
=EP6T
-----END PGP PUBLIC KEY BLOCK---

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
Url : http://lunar-linux.org/mailman/private/lunar-dev/attachments/20030515/a41de085/attachment.bin


More information about the Lunar-dev mailing list