« Return to Thread: Build T2 on Ubuntu 7.10

Build T2 on Ubuntu 7.10

by Marian Aldenhövel-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

I have been tasked of constructing an installation of linux to be deployed on
a number of "semi-embedded" system. These are x86-based small form-factor PCs
booting off CF-Card.

I decided to give T2 a try as it looks like it can give very good control at
what gets included in a build while not having to start really from the ground
up.

I have tried to build the T2 default embedded target on an installation of
Ubuntu 7.10 (server edition). And it fails while building the perl package:

Here's the tail of what gets output to the console:

 >`sh  cflags "optimize='-O2'" xsutils.o`  xsutils.c
 >          CCCMD =  i486-t2-linux-uclibc-gcc -DPERL_CORE -c
 >-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
 >-D_FILE_OFFSET_BITS=64  -std=c89 -O2 -Wall -ansi   -W -Wextra
 >-Wdeclaration-after-statement -Wendif-labels -Wc++-compat
 >`sh  cflags "optimize='-O2'" generate_uudmap.o`  generate_uudmap.c
 >          CCCMD =  i486-t2-linux-uclibc-gcc -DPERL_CORE -c
 >-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
 >-D_FILE_OFFSET_BITS=64  -std=c89 -O2 -Wall -ansi   -W -Wextra
 >-Wdeclaration-after-statement -Wendif-labels -Wc++-compat
 >i486-t2-linux-uclibc-gcc -o generate_uudmap -L/usr/local/lib
 >generate_uudmap.o -lnsl -ldl -lm -lcrypt -lutil -lc  -lm
 >./generate_uudmap >uudmap.h
 >/bin/sh: ./generate_uudmap: No such file or directory
 >make: *** [uudmap.h] Error 127
 >Due to previous errors, no 1-perl.log file!
 >(Try enabling xtrace in the config to track an error inside the build >system.)
 >--- BUILD ERROR ---
 >Creating file list and doing final adaptions ...
 >Searching for orphaned files ...
 >Found 6 files for this package.
 >Found 1 orphaned files for this package.
 >Clear (old) md5sums ...
 >Creating md5sum files ... done.
 >Creating package description ...
 >Making post-install adaptions.
 >-> $root/var/adm/logs/1-perl.out -> 1-perl.err
 >root@kboxdev:/home/kbox/t2# == 04/02/08 18:04:08 =[1]=> Aborted building
 >package perl.
 >-> Unmounting loop mounts ...

When checking after the abort I can find all of generate_uudmap.c,
generate_uudmap.o and generate_uudmap.

I have found references to Ubuntu having /bin/sh symlinked to /bin/dash and
that causing problems. I have relinked to /bin/bash, but this seems to be a
different cause.

Any hints? Need more information?

Ciao, MM
--
Marian Aldenhövel, Rosenhain 23, 53123 Bonn
http://www.marian-aldenhoevel.de
"I ran some quick calculations on it. He's about 80% on the right
  track.  That leaves him only 20% dead when he crashes." Bob C


-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@... with a subject of: unsubscribe t2

 « Return to Thread: Build T2 on Ubuntu 7.10