Nazmul Alam | 24 Apr 2013 12:15
Picon
Gravatar

Build error

Hello there,
I am getting compilation error while compiling Texinfo-4.13a.

terminal.c:272: more undefined reference to 'tputs' follow
collect2: ld returned 1 exit status
make[3]: *** [ginfo] Error 1
make[3]: Leaving directory '/mnt/clfs/sources/texinfo-4.13/tools/info'
make[2]: *** [all] Error 2
make[2]: Leaving directory '/mnt/clfs/sources/texinfo-4.13/tools/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/mnt/clfs/sources/texinfo-4.13/tools'
make: *** [all] Error 2
make: Leaving directory '/mnt/clfs/sources/texinfo-4.13/tools'

I have successfully installed Ncurses-5.9 as per instructions given in 6.11 of CLFS 1.2

Any suggestion regarding the compilation error?

I am trying to build CLFS for x86_x64 system using Ubuntu 12.04 (64-bit).

Thanks in advance.

--
with best regards,
       Nazmul Alam Shovon

শুভেচ্ছান্তে,
       নাজমুল আলম শোভন

email : fadedreamz <at> gmail.com 
blog : http://yourdigitaleffects.blogspot.com
_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
William Harrington | 20 Apr 2013 17:16
Picon

CLFS 2.0.0 Release Announcement

We are please to announce Cross Linux From Scratch 2.0.0.

http://trac.cross-lfs.org/wiki/news#AnnouncingCLFS2.0.0Release
http://trac.cross-lfs.org/wiki/download#CurrentStable
http://trac.cross-lfs.org/wiki/read#CurrentStable2.xSeries
http://trac.cross-lfs.org/wiki/errata/CLFS-2.0.0

Thanks to everyone who's helped us. Please report any bugs or issues  
you find on the mailing list or create a ticket. If you need a trac  
account please contact us in #cross-lfs on Freenode.

Kind Regards,

William Harrington

and

Cosmo Hill (Jonathan Norman)
CLFS Release Manager
bvl | 17 Apr 2013 19:32

gcc-4.8.0 clfs

Hello clfs'ers

The clfs-dev book has not been updated for a while and I was limbering up to 
attempt  a clfs-pure64-bit-build (AMD64-cpu ) with gcc-4.7.2  when 
gcc-4.7.3 and gcc-4.8.0  were released.  I noticed also there is a recent  lfs 
build with gcc-4.8.0.  The questios are:-
--a)  Is it worth upgrading the build to gcc-4.8.0 ?  and if so
--b)  does anyone know of patches* for gcc-4.8.0-pure-64-bit-build* as per 
clfs?

Thanks in advance.

sincerely
bv
* the same applies to gcc-4.7.3
William Harrington | 27 Mar 2013 01:19
Picon

CLFS Imminent Release

Greetings everybody,

So far, not much input from the CLFS 2.0.0 RC-1 release. All seems  
well it looks. CLFS 2.0.0 release is imminent. Hopefully we hear from  
our server's admin so we can get this on a roll.

I guess until that happens, maybe we can all look into the xml scripts  
and make sure all is fine. I know for two things that need fixing and  
I haven't had time to get into it, yet and that's the pkg-config and  
udev pages, maybe. I do know for sure, pkg-config. It as traces of  
autoconf in it. It needs to be rectified. If it wasn't udev, than  
maybe kmod was the other. When I get time off, lots of overtime at  
work, I'll look into it.

I guess one good look over the book's text and that all links are  
working would be good. I have the errata pages at the clfs wiki ironed  
out and the book should be pointing to them, both the RC1, and git  
book, and previous released books. Check them and make sure. If not,  
I'll need to fix them.

RIght now we are waiting to get access to the server again.

Sincerely,

William Harrington
bvl | 19 Mar 2013 16:33

clfs-sysroot for arm/raspberrypi

Greetings,

I have been looking clfs for a raspberrypi project.  I came across the PiLFS 
site  ( http://www.intestinate.com/pilfs/ ) but this appears to be based on a 
prebuild binary rather than traditional (C)LFS instructions of how to do it.
I also browsed clfs-embedded/arm (
 http://cross-lfs.org/view/clfs-embedded/arm/  ) and   for a raspberrypi 
project  and I stumbled on this:- (  
http://www.jayway.com/2013/01/20/linux-from-scratch-on-raspberry-pi/ )

BUT my instinct it with the  sysroot clfs ( 
http://cross-lfs.org/view/clfs-sysroot/arm/ ).  It seem more substantial (it 
uses eglibc for a start), with 
more milage for long-rerm development and  usage as  more-powerful  raspbis 
are rolled out .  Now I take  'sysroot' to mean the whole shebang is built on 
a foreign-host  (in this case an 'x86-cpu-based-computer  and the resultant 
image is ransferred to some device which is then implanted into a raspberrypi 
board).  Am I correct in this interpretation?

Eitherway the current cblfs sysroot looks a little aged (it is dated about 
2009 and appears to be  based on kernel2.6.30 ,gcc-4.4.1, eglibc2.10. 

--Question1:  Has anyone tried the current CLFS-sysroot for a raspberrypi and 
if so what were the results?
--Question2:  Could the current CLFS-sysroot  be updated to mirror packages in  
current clfs development  ( http://cross-lfs.org/view/svn/  
 (  i.e to be based on   gcc-4.6.3, kernel-3.4.17,eglibc-2.15  and if so does 
anyone know of  the relevant arm-CPU//raspberrypi patches for 
eglibc-2.15,gcc-4.6.3,binutils-2.23  and others in the distribution?

thanks in advance
sincerely
bv
湘雪秋 | 7 Mar 2013 03:36
Picon
Favicon

build error '/bin/sh: -g: invalid option' when build uClibc in clfs

My env:

 

clfs <at> ryang-desktop:/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31$ env               

CLFS_CPU=i686

CLFS_HOST=i486-cross-linux-gnu

TERM=xterm

CLFS_TARGET=i686-pc-linux-uclibc

OLDPWD=/mnt/clfs/source/embedded-0.0.1

LC_ALL=POSIX

CLFS=/mnt/clfs

PATH=/mnt/clfs/cross-tools/bin:/bin:/usr/bin

PWD=/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31

CLFS_ARCH=i386

PS1=${debian_chroot:+($debian_chroot)}\u <at> \h:\w\$

SHLVL=1

HOME=/home/clfs

CLFS_ENDIAN=little

_=/usr/bin/env

clfs <at> ryang-desktop:/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31$

 

 

before I try to build ‘uClibc-0.9.31’, I patched ‘uClibc-0.9.31-configs-2.patch’and copy ‘config.i386.little’ in clfs dictionary to ‘uClibc-0.9.31’ as .config, the call ‘make’, error show below:

 

clfs <at> ryang-desktop:/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31$ sudo make

/bin/sh: -g: invalid option

Usage:      /bin/sh [GNU long option] [option] ...

      /bin/sh [GNU long option] [option] script-file ...

GNU long options:

      --debug

      --debugger

      --dump-po-strings

      --dump-strings

      --help

      --init-file

      --login

      --noediting

      --noprofile

      --norc

      --posix

      --protected

      --rcfile

      --restricted

      --verbose

      --version

Shell options:

      -irsD or -c command or -O shopt_option          (invocation only)

      -abefhkmnptuvxBCHP or -o option

/bin/sh: -d: invalid option

Usage:      /bin/sh [GNU long option] [option] ...

      /bin/sh [GNU long option] [option] script-file ...

GNU long options:

      --debug

      --debugger

      --dump-po-strings

      --dump-strings

      --help

      --init-file

      --login

      --noediting

      --noprofile

      --norc

      --posix

      --protected

      --rcfile

      --restricted

      --verbose

      --version

Shell options:

      -irsD or -c command or -O shopt_option          (invocation only)

      -abefhkmnptuvxBCHP or -o option

/bin/sh: -d: invalid option

Usage:      /bin/sh [GNU long option] [option] ...

      /bin/sh [GNU long option] [option] script-file ...

GNU long options:

      --debug

      --debugger

      --dump-po-strings

      --dump-strings

      --help

      --init-file

      --login

      --noediting

      --noprofile

      --norc

      --posix

      --protected

      --rcfile

      --restricted

      --verbose

      --version

Shell options:

      -irsD or -c command or -O shopt_option          (invocation only)

      -abefhkmnptuvxBCHP or -o option

/bin/sh: -d: invalid option

Usage:      /bin/sh [GNU long option] [option] ...

      /bin/sh [GNU long option] [option] script-file ...

GNU long options:

      --debug

      --debugger

      --dump-po-strings

      --dump-strings

      --help

      --init-file

      --login

      --noediting

      --noprofile

      --norc

      --posix

      --protected

      --rcfile

      --restricted

      --verbose

      --version

Shell options:

      -irsD or -c command or -O shopt_option          (invocation only)

      -abefhkmnptuvxBCHP or -o option

make: -gcc: Command not found

make: -gcc: Command not found

  MKDIR include/bits

  GEN include/bits/sysnum.h

extra/scripts/gen_bits_syscall_h.sh: line 31: -gcc: command not found

extra/scripts/gen_bits_syscall_h.sh: line 27: -gcc: command not found

ERROR: Could not generate syscalls.

Make sure that you have proper kernel headers.

Your .config in KERNEL_HEADERS="" was set to:

/usr/include/

make: *** [include/bits/sysnum.h] Error 1

clfs <at> ryang-desktop:/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31$

 

 

 

 

how to solve?

_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
Jonathan Norman | 2 Mar 2013 02:01
Picon

CLFS 2.0.0 RC1 Announcement

We are please to announce Cross Linux From Scratch 2.0.0 RC1.

Read Online: http://cross-lfs.org/view/CLFS-2.0.0-RC1/
Test Logs: http://cross-lfs.org/testsuite-logs/CLFS-2.0.0-RC1/

Thanks to everyone who's helped us. Please report any bugs or issues you find on the mailing list or create a ticket. If you need a trac account please contact us in #cross-lfs on Freenode.

Kind Regards,
Cosmo Hill (Jonathan Norman)
CLFS Release Manager
_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
Randolph D Dach | 20 Feb 2013 05:43

Python2.7 problem

I have been trying to get Python 2.7.3 working for the last few days.  I followed the directions exactly as
shown in the CBLFS page.  everything compiled properly however when I try to use python it keeps giving me
ELFCLAss wrong.
example 
$python-32 -c 'import struct;print(8 * struct.clacsize("p")' 
returns
32
$python-64 -c 'import struct;print(8 * struct.clacsize("p")' 
returns 
Traceback (most recent call last):
File "<string>", lin 1, in <module>
File "/usr/lib/python2.7/struct.py", line 1, in <module>
   from _struct import *
ImportError: /usr/lib/python2.7/lib-dynload/_struct.so: wrong ELF class: ELFCLASS32

It seems the python-64 is going to the wrong set of libraries, should be going after the
/usr/lib64/python2.7 libraries.  
If I use ldd -v /usr/lib/python2.7/lib-dynload/_struct.so  it returns showing /usr/lib and /lib libraries
if I use ldd -v /usr/lib64/python2.7/lib-dynload/_struct.so it returns /usr/lib64 and /lib64 libraries.

--

-- 
Randolph D Dach <rdach <at> telus.net>
Hardik Gohil | 6 Feb 2013 09:45
Picon

(no subject)

Hello,


          i am following cross-linux from scratch book for buliding linux for arm.

          i have created all the images how to make it work in QEMU.

_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
david vann | 3 Feb 2013 22:21
Picon

gcc -Os regression?

 Okay, sorry to hit you guys up with this,  but has anyone else
noticed the 25% increase in stripped executable size in gcc-post-4.2.4 vs 4.2.4? I cant find *ANYTHING* in bugtraq
thank you.
-david
PS, if anyone would like to see some output of a sample package with the differences, I'd be happy to provide it.

_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
dsreyes1014 | 1 Feb 2013 00:46
Picon

Section 10.24 multiarch_wrapper.c compile error

Sent from my android device.

I'm getting an error compiling the multiarch_wrapper.c file at line 45 :8: 'filename' undeclared (first use in this function). I see it's being used on line 23 as '&filename'. My questions is, is the apmerstand needed in this if statement? I'm no C programmer so if anyone  knows of how I can fix this error I would be grateful.
_______________________________________________
Clfs-support mailing list
Clfs-support <at> lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Gmane