You are not logged in.

#1 2010-03-27 15:01:03

iamybj
Member
Registered: 2007-05-08
Posts: 54

foolish glibc error *

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
I found this in stubs.h:

/* This file selects the right generated file of `__stub_FUNCTION' macros
   based on the architecture being compiled for.  */

#include <bits/wordsize.h>

#if __WORDSIZE == 32
# include <gnu/stubs-32.h>
#elif __WORDSIZE == 64
# include <gnu/stubs-64.h>
#else
# error "unexpected value for __WORDSIZE macro"
#endif

but in the directory ,only stubs-64.h exists, no stubs-32.h, I have install lib32-glibc.

Does it miss a header files?? I wonder if it miss other important files? This makes me doubt the whole archlinux project.

I think the base system is still unstable in archlinux..It is a foolish mistake!

Moderator edit: you could do with a few exclamation marks less, thank you

Last edited by .:B:. (2010-03-27 19:16:46)

Offline

#2 2010-03-27 15:22:21

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: foolish glibc error *

foolish topic title!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
also, yes, it very well known that arch is unstable and most of users are also in doubt, now you're really part of the community! I'm now having doubts about arch since 5 years as far as I'm concerned.

Offline

#3 2010-03-27 15:32:08

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: foolish glibc error *

I don't get that this has to do with unstable base systems. We just don't provide multilib compilers and such. The lib32-* packages are just a hack and contain only the libs to run some 32bit apps.

If you want to compile 32bit apps, use a chroot.

Offline

#4 2010-03-27 16:20:00

cmtptr
Member
Registered: 2008-09-01
Posts: 135

Re: foolish glibc error *

Pierre wrote:

If you want to compile 32bit apps, use a chroot.

This.

After managing lib32 packages from AUR myself for months, I just recently discovered the chroot method.  It works like a charm.  Look for Arch32 in the AUR (it basically does this for you).
Arch is minimalistic and purist, which is why I use it.  And even if this were unintentional, a missing header is hardly unstable.

In conclusion: foolish user error!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Last edited by cmtptr (2010-03-27 16:21:10)

Offline

#5 2010-03-27 16:24:27

Loke
Member
From: Denmark
Registered: 2005-10-21
Posts: 139

Re: foolish glibc error *

OP:
If you are unsatisfied with the distribution as whole, nothing is preventing you from switching to something else.

Offline

#6 2010-03-27 16:39:17

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: foolish glibc error *

cmtptr wrote:

In conclusion: foolish user error!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

that happens all the time when the user doesn't have enough knowledge to understand what the hell is going. instead of asking polity on why does it have that problem, he does false assumptions and cheap trolling.


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2010-03-27 18:40:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,410
Website

Re: foolish glibc error *

@iamybj: you have already been told to have appropriate subject titles...   It would be good if you took that advise.

I still wonder how you got that error given there is not -m32 flag on our gcc compiler in x86_64.

Offline

#8 2010-03-27 23:33:02

iamybj
Member
Registered: 2007-05-08
Posts: 54

Re: foolish glibc error *

Allan wrote:

@iamybj: you have already been told to have appropriate subject titles...   It would be good if you took that advise.

I still wonder how you got that error given there is not -m32 flag on our gcc compiler in x86_64.

Err......An AUR package "gmlive-extra" does not have a x86_64 architecture, so I add arch "x86_64" in its PKGBUILD file....and then meet the mistake...

I wonder how to compile 32 bit programs in a x86_64 installation .

And why the mplayer package does not have a GUI??
I installed gnome-mplayer,  sometimes media files were played by gnome-mplayer, sometime by background mplayer  .........
It should be two packages ,one is mplayer-nogui with no GUI for gmplayer,smplayer to use, one is mplayer with GUI for standalone using .......
Otherwise I have two players,, It's not my like way...I like only one  to do all the similar works.
Before the mplayer-nogui appears,  I will only use totem..........

Last edited by iamybj (2010-03-27 23:47:20)

Offline

#9 2010-03-27 23:34:47

iamybj
Member
Registered: 2007-05-08
Posts: 54

Re: foolish glibc error *

Pierre wrote:

I don't get that this has to do with unstable base systems. We just don't provide multilib compilers and such. The lib32-* packages are just a hack and contain only the libs to run some 32bit apps.

If you want to compile 32bit apps, use a chroot.

How to use chroot  to compile a 32 bit program ? I do not know details about it...

Last edited by iamybj (2010-03-27 23:35:35)

Offline

#10 2010-03-27 23:48:44

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Offline

Board footer

Powered by FluxBB