Am 01.03.2008 um 15:54 schrieb Philippe Latu:

Package: dynamips
Version: 0.2.7-0.2.8RC2-1
Severity: serious
Justification: no longer builds from source



-- System Information:
Debian Release: lenny/sid
 APT prefers unstable
 APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

While trying to build from source I get the following error.

Any hint ?

make -C .
make[1]: entrant dans le répertoire «
/usr/local/src/dynamips-0.2.7-0.2.8RC2 »
Linking rom2c
Extracting ROM from ELF file 'mips64_microcode'...
Extracting ROM from ELF file 'ppc32_microcode'...
Compiling mempool.c
Compiling registry.c
Compiling rbtree.c
Compiling hash.c
Compiling sbox.c
Compiling utils.c
Compiling parser.c
Compiling plugin.c
Compiling ptask.c
Compiling timer.c
Compiling crc.c
Compiling base64.c
Compiling net.c
Compiling net_io.c
Compiling net_io_bridge.c
Compiling net_io_filter.c
Compiling atm.c
Compiling atm_vsar.c
Compiling atm_bridge.c
Compiling frame_relay.c
frame_relay.c: In function ‘frsw_create_vc’:
frame_relay.c:389: warning: dereferencing type-punned pointer will break
strict-aliasing rules
Compiling eth_switch.c
Compiling dynamips.c
Compiling insn_lookup.c
insn_lookup.c:319: warning: ‘ilt_dump’ defined but not used
Compiling vm.c
vm.c:115: warning: ‘vm_object_rebuild_list’ defined but not used
Compiling cpu.c
Compiling jit_op.c
Compiling mips64.c
Compiling mips64_mem.c
mips64_mem.c: In function ‘mips64_mts32_slow_lookup’:
mips64_mem.c:377: warning: label ‘err_address’ defined but not used
Compiling mips64_cp0.c
Compiling mips64_jit.c
mips64_jit.c:258: warning: ‘insn_jump_find’ defined but not used
/tmp/ccIbvxJc.s: Assembler messages:
/tmp/ccIbvxJc.s:1424: Error: suffix or operands invalid for `mov'
make[1]: *** [mips64_jit.o] Erreur 1
make[1]: quittant le répertoire « /usr/local/src/ dynamips-0.2.7-0.2.8RC2
»
make: *** [debian/stamp-makefile-build] Erreur 2
dpkg-buildpackage: échec: debian/rules build a produit une erreur de
sortie de type 2

Edit debian/rules and uncomment
---snip---
#DM_ARCH = nojit
#ifeq ($(DEB_HOST_ARCH),i386)
#       DM_ARCH = x86
#endif
#ifeq ($(DEB_HOST_ARCH), amd64)
#       DM_ARCH = $(DEB_HOST_ARCH)
#endif
#DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) make -C $(DEB_BUILDDIR) \
#       DYNAMIPS_ARCH=$(DM_ARCH)
DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) make -C $(DEB_BUILDDIR)
---snip---
and comment out the last line.

--
Erik Wenzel
Debian Developer
EMail: [EMAIL PROTECTED]






Reply via email to