boz283 | 1 Nov 07:34 2007

Re: Compilation error GLIBC on Section 5.8for SVN-0.0.1-20070915/alpha

Thank you for your note. Because I tried to use the latest version of alpha
and glibc had an error related to undefined PTR_MANGLE function. I found a
patch for it, but I got another error message that I don't remember, but I
will try to replicate it.

Berkin

-----Original Message-----
From: clfs-support-bounces <at> lists.cross-lfs.org
[mailto:clfs-support-bounces <at> lists.cross-lfs.org] On Behalf Of Joe Ciccone
Sent: Wednesday, October 31, 2007 6:56 PM
To: Cross-LFS Support List
Subject: Re: [Clfs-support] Compilation error GLIBC on Section 5.8for
SVN-0.0.1-20070915/alpha

Berkin Ozisikyilmaz wrote:
> Hi,
>
> I'm using Suse 10.2 with clfs <at> berkin:~> gcc -v
> Using built-in specs.
> Target: i586-suse-linux
> Configured with: ../configure --enable-threads=posix --prefix=/usr 
> --with-local-prefix=/usr/local --infodir=/usr/share/info 
> --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib 
> --enable-languages=c,c++,objc,fortran,obj-c++,java,ada 
> --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 
> --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib 
> --with-system-zlib --enable-shared --enable-__cxa_atexit 
> --enable-libstdcxx-allocator=new --program-suffix=-4.1 
> --enable-version-specific-runtime-libs --without-system-libunwind 
(Continue reading)

cunnilinux himself | 1 Nov 08:58 2007
Picon

Re: Compiling glibc to its own directory?

> Since starting chapter 10, I decided to mimic the GoboLinux-like tree
> structure. So far, everything has gone smoothly until I tried
> compiling glibc.

Gobo is pretty nice :) i have played with it, and still use GoboHide
on my lfs system.

i think you should take a look at gobo recipe for glibc - the solution
might be there.

--

-- 
sex, freeride, open source!
David Whitney | 1 Nov 21:08 2007
Picon

Cannot get DHCP working

Hello,

I've been seeking help (within LinuxQuestions.org) to resolve a CLFS/BLFS system issue that is preventing me from acquiring a network IP address using dhclient, however I have not received any helpful advice.

Can someone please advise me if I have perchance missed a critical step in my system's configuration?  The post I created within LinuxQuestions.org can be viewed here:  http://www.linuxquestions.org/questions/linux-newbie-8/cannot-acquire-dhcp-ip-address-from-router-596148.

To summarize the post, my network interface is detected, the appropriate Linux kernel module is loaded, and I can configure the interface manually using ifconfig, yet I am unable to ping any system or even the router within my local network.

If you have any suggestions as to where I should focus my efforts to resolve this issue, please let me know.

Thank you.

Dave

P.S.  I have tried using a static-IP configuration as documented in CLFS, however that does not function either. 

_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
mike | 1 Nov 21:43 2007
Picon

Re: Cannot get DHCP working

David Whitney wrote:
> Hello,
>
> I've been seeking help (within LinuxQuestions.org) to resolve a 
> CLFS/BLFS system issue that is preventing me from acquiring a network 
> IP address using dhclient, however I have not received any helpful 
> advice.
>
> Can someone please advise me if I have perchance missed a critical 
> step in my system's configuration?  The post I created within 
> LinuxQuestions.org can be viewed here:  
> http://www.linuxquestions.org/questions/linux-newbie-8/cannot-acquire-dhcp-ip-address-from-router-596148.
>
> To summarize the post, my network interface is detected, the 
> appropriate Linux kernel module is loaded, and I can configure the 
> interface manually using ifconfig, yet I am unable to ping any system 
> or even the router within my local network.
>
> If you have any suggestions as to where I should focus my efforts to 
> resolve this issue, please let me know.
>
> Thank you.
>
> Dave
>
> P.S.  I have tried using a static-IP configuration as documented in 
> CLFS, however that does not function either. 
> ------------------------------------------------------------------------
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support <at> lists.cross-lfs.org
> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
>   
hm, at first: can you complain how do you configured staticly?
normally, when you setup the network card statically, then should it be  
working.
are you sure about the right address range, dns server and so on in your 
router network?
can you ping the router over ip? to you have some strange iptables rules 
(check iptables -L)?
and then, for dhcp ip address you need a dhcp-client program you can 
download it from: http://cblfs.cross-lfs.org/index.php/Dhcpcd 
<http://download.berlios.de/dhcpcd/dhcpcd-3.1.7.tar.bz2>
more info about the installation is on: 
http://cblfs.cross-lfs.org/index.php/Dhcpcd
mike | 1 Nov 22:21 2007
Picon

compiling firefox for 32bit

hi,
i use for some time past firefox2.0.0.2 as 32 bit (but cannot remember 
the build process)
i try install the new firfox2.0.0.8 as 32 bit application, but it fails 
with:

xptcinvoke_x86_64_linux.cpp: In function »nsresult 
XPTC_InvokeByIndex(nsISupports*, PRUint32, PRUint32, nsXPTCVariant*)«:
xptcinvoke_x86_64_linux.cpp:82: Warnung: »value« könnte in dieser 
Funktion uninitialisiert verwendet werden
xptcinvoke_x86_64_linux.cpp:153: Fehler: ungültiger Registername für »d0«
xptcinvoke_x86_64_linux.cpp:154: Fehler: ungültiger Registername für »d1«
xptcinvoke_x86_64_linux.cpp:155: Fehler: ungültiger Registername für »d2«
xptcinvoke_x86_64_linux.cpp:156: Fehler: ungültiger Registername für »d3«
xptcinvoke_x86_64_linux.cpp:157: Fehler: ungültiger Registername für »d4«
xptcinvoke_x86_64_linux.cpp:158: Fehler: ungültiger Registername für »d5«
xptcinvoke_x86_64_linux.cpp:159: Fehler: ungültiger Registername für »d6«
xptcinvoke_x86_64_linux.cpp:160: Fehler: ungültiger Registername für »d7«
xptcinvoke_x86_64_linux.cpp:182: Fehler: ungültiger Registername für »a4«
xptcinvoke_x86_64_linux.cpp:183: Fehler: ungültiger Registername für »a5«
make[7]: *** [xptcinvoke_x86_64_linux.o] Fehler 1
make[7]: Leaving directory 
`/1-OO-build/mozilla/xpcom/reflect/xptcall/src/md/unix

i use the following configure-script:

#!/bin/bash

sed -i "s: <at> MOZ_GTK2_LIBS <at> :& -L${XORG_PREFIX}/lib -lX11 -lXrender:g" 
config/autoconf.mk.in
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH32
export CC="gcc ${BUILD32}"
export CXX="g++ ${BUILD32}"
export USE_ARCH=32

./configure --prefix=/opt/firefox-2.0.0.8 --build=$CLFS_TARGET32 
--host=$CLFS_TARGET32 --target=$CLFS_TARGET32 \
  --with-x --x-libraries=/usr/X11R7/lib --with-pthreads 
--with-system-nspr --with-system-nss \
  --with-system-jpeg=/usr --with-system-zlib=/usr --with-system-png=/usr \
  --with-java-include-path=/opt/jdk/jdk/include 
--with-java-bin-path=/opt/jdk/jdk/bin \
  --with-qtdir=/opt/qt --enable-application=browser --enable-canvas \
  --disable-mailnews --disable-ldap --enable-xinerama \
  --enable-strip --enable-xterm-updates  --enable-default-toolkit=gtk2
make && make install

the same for 64 bit compiles fine and fast. whats wrong with my 
consideration?
Ken Moffat | 2 Nov 00:06 2007

Re: compiling firefox for 32bit

On Thu, Nov 01, 2007 at 10:21:44PM +0100, mike wrote:
> hi,
> i use for some time past firefox2.0.0.2 as 32 bit (but cannot remember 
> the build process)
> i try install the new firfox2.0.0.8 as 32 bit application, but it fails 
> with:
> 
> xptcinvoke_x86_64_linux.cpp: In function »nsresult 
> XPTC_InvokeByIndex(nsISupports*, PRUint32, PRUint32, nsXPTCVariant*)«:
> xptcinvoke_x86_64_linux.cpp:82: Warnung: »value« könnte in dieser 
> Funktion uninitialisiert verwendet werden
> xptcinvoke_x86_64_linux.cpp:153: Fehler: ungültiger Registername für »d0«
 In other words, it thinks it is building for x86_64 and tries to
use the 64-bit register names.
> 
> i use the following configure-script:
> 
> #!/bin/bash
> 
> sed -i "s: <at> MOZ_GTK2_LIBS <at> :& -L${XORG_PREFIX}/lib -lX11 -lXrender:g" 
> config/autoconf.mk.in
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH32
> export CC="gcc ${BUILD32}"
> export CXX="g++ ${BUILD32}"
> export USE_ARCH=32
> 
> ./configure --prefix=/opt/firefox-2.0.0.8 --build=$CLFS_TARGET32 
> --host=$CLFS_TARGET32 --target=$CLFS_TARGET32 \
 My last multilib firefox was 2.0.0.5 (haven't been able to build on
ppc64, x86_64 multilib is waiting until I sort out issues and
additions on my pure64 build).  My scripts do things the {,c}blfs way
(put everything in .mozconfig, then use client.mk) with the
following variations from a non-multilib build:

 echo "CC=\"gcc ${BUILD32}\""			>>.mozconfig &&
 echo "CXX=\"g++ ${BUILD32}\""			>>.mozconfig &&
 echo "ac_add_options --host=$CLFS_TARGET32"	>>.mozconfig &&
 echo "ac_add_options --build=$CLFS_TARGET32"	>>.mozconfig &&
 echo "mk_add_options CONFIG_GUESS=$CLFS_TARGET32" >>.mozconfig &&

and then
 make -f client.mk OS_TEST=x86 build
 make -f client.mk OS_TEST=x86 install

 OS_TEST is used in security/coreconf/Linux.mk so it probably isn't
what is blowing you out at the moment.

 The build systems for all netscape derivatives are a nightmare to
understand, so once a script works for me I tend to keep it.

 I imagine it's probably the config.guess which is breaking for you
- I vaguely remember problems with it somewhen.  Note that in
.mozconfig these are mk options, not ac, so if you intend to use
configure you probably need to look through it (or them - there may
be other configure scripts in subdirectories, I don't have a firefox
tree handy) to see how config.guess gets called.

ĸen
--

-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
Ken Moffat | 2 Nov 00:36 2007

Re: Cannot get DHCP working

On Thu, Nov 01, 2007 at 01:08:16PM -0700, David Whitney wrote:
> Can someone please advise me if I have perchance missed a critical step in
> my system's configuration?  The post I created within LinuxQuestions.org can
> be viewed here:
> http://www.linuxquestions.org/questions/linux-newbie-8/cannot-acquire-dhcp-ip-address-from-router-596148
> .
 I can't access that - it drops me at linux-newbie-8/ and I didn't
notice any relevant topic.  Actually, linux-newbie doesn't sound
like a good place to post LFS, let alone, clfs, problems.
> 
> To summarize the post, my network interface is detected, the appropriate
> Linux kernel module is loaded, and I can configure the interface manually
> using ifconfig, yet I am unable to ping any system or even the router within
> my local network.

 Now, recent udev has supplied its own version of 'ifconfig', and
for all I know it _might_ work, but 'ifconfig' hasn't been the
recommended way of setting an address in LFS-family builds for some
years.

 In the old stable book, the basics are in 'Creating Network
Interface Configuration Files' (11.14.2 in the arch I happen to be
looking at, probably the same in all arches, and probably the same
in the development book).
> 
> If you have any suggestions as to where I should focus my efforts to resolve
> this issue, please let me know.
> 
> Thank you.
> 
> Dave
> 
> P.S.  I have tried using a static-IP configuration as documented in CLFS,
> however that does not function either.

 So, what doesn't work, and why do you think you should be using
dhclient ?  Hints - you may need to describe your network, at least
in terms of the gateway, any dhcp server(s) you have.  For instance,
my network runs on 192.168.x.0 (there is no need to specify the full
detail, as long as 'x' is a constant) and my server offers addresses
in the range 192.168.x.120 to 192.168.x.129 which means I know that
addresses below and above the 12n range are not offered - in
practice, my server and one or two other boxes use/used static
addresses - for your own network, you need to keep the details!

 For a static local IP (which is usually easiest, unless all your
addresses come from a router) you have to know that the address you
pick is currently unique, and compatible with the gateway.

 If you have been running a distro on the box that is running clfs,
the usual procedure is to take the settings from that.  If you used
a Live CD, and you managed to get connectivity from that, again copy
the settings.

 FWIW, I use dhcp-3.0.5 on my current desktops, with the appropriate
patch.

ĸen
--

-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
Joe Ciccone | 2 Nov 00:37 2007
Picon

Re: compiling firefox for 32bit

mike wrote:
> #!/bin/bash
>
> sed -i "s: <at> MOZ_GTK2_LIBS <at> :& -L${XORG_PREFIX}/lib -lX11 -lXrender:g" 
> config/autoconf.mk.in
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH32
> export CC="gcc ${BUILD32}"
> export CXX="g++ ${BUILD32}"
> export USE_ARCH=32
>
> ./configure --prefix=/opt/firefox-2.0.0.8 --build=$CLFS_TARGET32 
> --host=$CLFS_TARGET32 --target=$CLFS_TARGET32 \
>   --with-x --x-libraries=/usr/X11R7/lib --with-pthreads 
> --with-system-nspr --with-system-nss \
>   --with-system-jpeg=/usr --with-system-zlib=/usr --with-system-png=/usr \
>   --with-java-include-path=/opt/jdk/jdk/include 
> --with-java-bin-path=/opt/jdk/jdk/bin \
>   --with-qtdir=/opt/qt --enable-application=browser --enable-canvas \
>   --disable-mailnews --disable-ldap --enable-xinerama \
>   --enable-strip --enable-xterm-updates  --enable-default-toolkit=gtk2
> make && make install
>
> the same for 64 bit compiles fine and fast. whats wrong with my 
> consideration?
>   
May I suggest http://cblfs.cross-lfs.org/index.php/Firefox. You're 
missing OS_TEST=x86 in the make line, as Ken pointed out.,
Joe Ciccone | 2 Nov 00:39 2007
Picon

Re: Compilation error GLIBC on Section 5.8for SVN-0.0.1-20070915/alpha

boz283 wrote:
> Thank you for your note. Because I tried to use the latest version of alpha
> and glibc had an error related to undefined PTR_MANGLE function. I found a
> patch for it, but I got another error message that I don't remember, but I
> will try to replicate it.
>  
>   
If you got the patch from glibc's bugzilla then it was probably one of 
my experimental patches that are floating around.
Joe Ciccone | 2 Nov 00:42 2007
Picon

Re: Cannot get DHCP working

David Whitney wrote:
>
>
> P.S.  I have tried using a static-IP configuration as documented in 
> CLFS, however that does not function either. 

For starters, assuming that you setup the static IP properly, correct 
ip/netmask/gateway/dns. I'd check your network cable / hardware. I've 
seen nics completely refuse to communicate after a power surge.

Gmane