compileing help

The forum for our foreign guests... Please post in English
dunryc
Neugieriger
Neugieriger
Beiträge: 19
Registriert: Samstag 27. November 2004, 22:43

compileing help

Beitrag von dunryc »

compile on mandrake had to upgrade automake to 1.7 and when using command make download iget this error message

[Archive/module-init-tools-3.0.tar.bz2] Error 1 had a look on the cvs download and i cant find the file manualy i have managed to edit make to use module-init-tools-3.1.tar.bz2 and also tried manualy using 3.0 from another source

make download completes both time but when running make all command the compile goes for abouyt an hour and a half then i get this error message
usr/local/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
wm/unique/data/Makefile.am:20: CROSS_COMPILING does not appear in AM_CONDITIONAL
wm/unique/data/Makefile.am:23: BUILD_TOOLS does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/local/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
Running configure --enable-maintainer-mode --build=i686-pc-linux-gnu --host=powerpc-tuxbox-linux-gnu --prefix= --disable-debug --with-inputdrivers=linuxinput --disable-sdl --disable-multi --without-tools --with-gfxdrivers=none ...
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-tuxbox-linux-gnu
checking target system type... powerpc-tuxbox-linux-gnu
./configure: line 1497: syntax error near unexpected token `$PACKAGE,'
./configure: line 1497: `AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)'
make: *** [.deps/libdirectfb] Error 1


anyone got any ideas where im going wrong ? is it the version of init-tools im using ? any help would be appreciated
Houdini
Developer
Beiträge: 2183
Registriert: Mittwoch 10. Dezember 2003, 07:59

Beitrag von Houdini »

Hello dunryc,

as stated in cdk/doc/install.en check that your build system has at least the following tools and version installed:
- autoconf >= 2.57a
- automake >= 1.7
- libtool >= 1.4.2
- gettext >= 0.12.1
- make >= 3.79
- makeinfo (texinfo)
- tar
- bunzip2 (bzip2)
- gunzip (gzip)
- patch
- infocmp (ncurses-bin / ncurses-devel)
- gcc 2.95 or >= 3.0
- g++ 2.95 or >= 3.0
- flex
- bison
- pkg-config
- wget
- libpng2 or libpng3 (DirectFB)

check as well that the tools you may have been upgraded are used instead of the old ones
regards
Houdini
dunryc
Neugieriger
Neugieriger
Beiträge: 19
Registriert: Samstag 27. November 2004, 22:43

Beitrag von dunryc »

hi thanks for the reply but i think im pretty much covered there heres a paste of the check.log

[root@localhost checker]# more check.log
automake >=1.7 :1.7
autoconf >=2.57a :2.57a
cvs :1.11.17
libtool >=1.4.2 :1.4.2
make >=3.79 :version
gettext >=0.12.1 :0.14.1
makeinfo (texinfo) :4.7
tar :1.14
bunzip2 :1.0.2
gunzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H
gunzip :
patch :2.5.9
infocmp :5.4.20040529
gcc >=3.0 :3.4.1
g++ >=3.0 :3.4.1
yacc :yacc installiert
bison :2.0
flex :2.5.4
pkg-config :0.15.0
./check.sh: line 1: fakeroot: command not found
fakeroot :

Versionscheck erfolgreich
aber nur der root kann images erzeugen
[/quote]

so im missing fake root as its not a crital instalation i decided to compile as root because i couldnt find a version of fakeroot for mandrake.

make -v gives me GNU Make version 3.79 but i dont know why checker doesnt pick it up ? the fail seems to arise when dealing with configuring /compiling directfb but im not sure why the command make all doesnt seem to work, wich seems to be causing the error. as aslways any help would be appreciated
birkenhead
Neugieriger
Neugieriger
Beiträge: 7
Registriert: Donnerstag 10. Februar 2005, 14:52

fakeroot

Beitrag von birkenhead »

dunryc
Neugieriger
Neugieriger
Beiträge: 19
Registriert: Samstag 27. November 2004, 22:43

Beitrag von dunryc »

cheers for that birkinhead but im on a mandreake system that package is specificlyfordebian. oh well i ll keep searching for a source package

chhers anyway dunryc
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

That's what happenes to User Winker...

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID 7a gtxID 0b
debug: fpID 5a dsID 01-d7.d3.59.05.00.00-12
debug: HWrev X5 SWrev 0.81
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Given up BOOTP/TFTP boot
boot net failed

Flash-FS bootstrap loader (v1.5)

Found Flash-FS superblock version 3.1
Found file /root/platform/nokia-dbox2/kernel/os in Flash-FS
debug: Got Block #0032
debug: Got Block #0004
debug: Got Block #0008
debug: Got Block #0012
debug: Got Block #0016
debug: Got Block #0020
debug: Got Block #0024
debug: Got Block #0028
debug: Got Block #0032

will verify ELF image, start= 0x800000, size= 143992
verify sig: 262
Branching to 0x40000


U-Boot 0.4.5 (TuxBox) JFFS2 only (Jan 01 2004 - 18:47:07)

CPU: PPC823ZTnnA at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
Warning: CPU Core has Silicon Bugs -- Check the Errata
Board: DBOX2, Nokia, BMon V1.0 -- Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB

Scanning JFFS2 FS: . | / - \ | / . - \ | / - \ | / - \ . | / - \ . | . / - . \ | / - \ | / done.
### FS (jffs2) loading 'var/tuxbox/boot/boot.conf'
### FS (jffs2) loading 'var/tuxbox/boot/u-boot.conf'

LCD: ready
FB: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET

### FS (jffs2) loading 'var/tuxbox/boot/logo-lcd'
### FS (jffs2) loading 'var/tuxbox/boot/logo-fb'
### FS (jffs2) loading 'vmlinuz'
.................................................. .............
Un-Protected 63 sectors
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 623592 Bytes = 608.10 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.27-dbox2 (alan@debian) (gcc version 3.3.5) #1 Tue Feb 15 12:08:45 GMT 2005
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rw
console=ttyS0

Decrementer Frequency = 252000000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x1000)
Console: colour dummy device 80x25
Calibrating delay loop... 66.96 BogoMIPS
Memory: 30880k available (1060k kernel code, 368k data, 60k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (2002081 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
CPM UART driver version 0.04
ttyS0 at 0x0280 is on SMC1 using BRGÿttyS1 at 0x0380 is on SMC2 using BRG2
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:12:45:c8
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit mode
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 5 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00800000 : "root (jffs2)"
0x00020000-0x00800000 : "flash without bootloader"
0x00000000-0x00800000 : "complete flash"
Linux video capture interface: v1.00
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
cramfs: wrong magic
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 60k init

init started: BusyBox v1.00 (2005.02.15-11:54+0000) multi-call b
Starting pid 10, console /dev/console: '/etc/init.d/rcS'
/etc/init.d/rcS: 11: ./etc/profile: Permission denied
Using /lib/modules/2.4.27-dbox2/misc/tuxbox.o
Detected STB:
Vendor: Nokia
Model: D-BOX2
Using /lib/modules/2.4.27-dbox2/misc/dvb-core.o
Using /lib/modules/2.4.27-dbox2/misc/dbox2_i2c.o
[i2c-8xx]: mpc 8xx i2c init
[i2c-8xx]: adapter: 0
Using /lib/modules/2.4.27-dbox2/misc/dvb_i2c_bridge.o
Using /lib/modules/2.4.27-dbox2/misc/event.o
event: $Id: event.c,v 1.12 2003/09/30 05:45:38 obi Exp $
Using /lib/modules/2.4.27-dbox2/misc/dbox2_fp.o
Using /lib/modules/2.4.27-dbox2/misc/dbox2_fp_input.o
Using /lib/modules/2.4.27-dbox2/misc/ves1820.o
Using /lib/modules/2.4.27-dbox2/misc/ves1x93.o
Using /lib/modules/2.4.27-dbox2/misc/avs.o
Using /lib/modules/2.4.27-dbox2/misc/saa7126.o
Using /lib/modules/2.4.27-dbox2/misc/cam.o
$Id: cam.c,v 1.30 2004/01/10 16:36:34 alexw Exp $
Using /lib/modules/2.4.27-dbox2/misc/lcd.o
lcd.o: init lcd driver module
lcd.o: found KS0713/SED153X lcd interface
Using /lib/modules/2.4.27-dbox2/misc/avia_napi.o
$Id: avia_napi.c,v 1.18 2003/11/24 09:53:01 obi Exp $
DVB: registering new adapter (C-Cube AViA GTX/eNX with AViA 500/600).
DVB: VES1820(0): pwm=0x48
DVB: registering frontend 0:0 (VES1820 based DVB-C frontend)...
dvb_i2c_bridge: enabled DVB i2c bridge to PowerPC 8xx I2C adapter
Using /lib/modules/2.4.27-dbox2/misc/avia_av.o
avia_av: $Id: avia_av_core.c,v 1.98 2004/11/21 20:33:38 carjay Exp $
avia_av_core: Starting avia_av_wdt thread.
avia_av_event: $Id: avia_av_event.c,v 1.11 2003/10/26 16:32:51 obi Exp $
avia_av_proc: $Id: avia_av_proc.c,v 1.14 2004/01/21 20:02:29 carjay Exp $
Using /lib/modules/2.4.27-dbox2/misc/avia_gt.o
avia_gt_core: $Id: avia_gt_core.c,v 1.48 2004/12/20 01:01:22 carjay Exp $
avia_gt_core: autodetecting chip type... GTX
avia_gt_gtx: $Id: avia_gt_gtx.c,v 1.24 2003/09/30 05:45:35 obi Exp $
avia_gt_accel: $Id: avia_gt_accel.c,v 1.19 2003/09/30 05:45:35 obi Exp $
avia_gt_dmx: $Id: avia_gt_dmx.c,v 1.210 2004/06/26 16:08:15 carjay Exp $
avia_gt_core: masking unhandled irq reg 1 bit 11
avia_gt_core: masking unhandled irq reg 1 bit 13
avia_gt_ucode: loaded ucode vB107
avia_gt_ucode: ucode section filters disabled.
avia_gt_dmx: warning, misaligned queue 0 (is 0xFD200, size 65536), aligning...
avia_gt_core: masking unhandled irq reg 0 bit 6
avia_gt_gv: $Id: avia_gt_gv.c,v 1.39 2004/08/28 16:44:56 carjay Exp $
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_pcm: $Id: avia_gt_pcm.c,v 1.29 2004/01/29 19:38:20 zwen Exp $
avia_gt_pcm_set_rate(44100)
avia_gt_capture: $Id: avia_gt_capture.c,v 1.32 2003/09/30 05:45:35 obi Exp $
avia_gt_pig: $Id: avia_gt_pig.c,v 1.40 2003/09/30 05:45:35 obi Exp $
avia_gt_vbi: $Id: avia_gt_vbi.c,v 1.26 2003/08/01 17:31:22 obi Exp $
avia_gt_core: Loaded AViA eNX/GTX driver
Using /lib/modules/2.4.27-dbox2/misc/avia_gt_fb.o
avia_gt_fb: $Id: avia_gt_fb_core.c,v 1.54 2004/03/17 18:42:18 zwen Exp $
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
Console: switching to colour frame buffer device 82x32
avia_gt_fb: fb0: AViA eNX/GTX Framebuffer frame buffer device
Using /lib/modules/2.4.27-dbox2/misc/avia_gt_lirc.o
avia_gt_lirc: $Id: avia_gt_lirc.c,v 1.14 2003/09/30 05:45:35 obi Exp $
avia_gt_ir: $Id: avia_gt_ir.c,v 1.30 2003/09/30 05:45:35 obi Exp $
Using /lib/modules/2.4.27-dbox2/misc/avia_gt_oss.o
avia_oss: $Id: avia_gt_oss.c,v 1.26 2004/05/31 22:56:02 carjay Exp $
avia_gt_pcm_set_rate(44100)
Using /lib/modules/2.4.27-dbox2/misc/avia_gt_v4l2.o
avia_gt_v4l2: $Id: avia_gt_v4l2.c,v 1.12 2003/09/30 04:54:03 obi Exp $
Using /lib/modules/2.4.27-dbox2/misc/cam_napi.o
$Id: cam_napi.c,v 1.8 2003/09/30 05:45:34 obi Exp $
Using /lib/modules/2.4.27-dbox2/misc/avia_av_napi.o
avia_av_napi.c: $Id: avia_av_napi.c,v 1.33 2004/03/11 15:30:27 derget Exp $
Using /lib/modules/2.4.27-dbox2/misc/avia_gt_napi.o
avia_gt_napi: $Id: avia_gt_napi.c,v 1.203 2005/01/05 05:49:56 carjay Exp $
Using /lib/modules/2.4.27-dbox2/misc/dbox2_fp_napi.o
/etc/init.d/rcS: 90: cannot create /etc/issue.net: Read-only file system

Starting pid 68, console /dev/console: '/etc/init.d/start'

Please press Enter to activate this console. [LCDFONT]