Bug#544779: zaptel-source doesn't build on sparc (#error No big endian support (yet))
Master
peter.weil.2k7 at googlemail.com
Wed Sep 2 21:34:33 UTC 2009
Package: zaptel-source
Version: 1:1.4.11~dfsg-3
Severity: serious
Justification: no longer builds from source
CC [M] /usr/src/modules/zaptel/kernel/zttranscode.o
CC [M] /usr/src/modules/zaptel/kernel/ds1x1f.o
CC [M] /usr/src/modules/zaptel/kernel/opvxa1200.o
/usr/src/modules/zaptel/kernel/opvxa1200.c: In function 'wctdm_transmitprep':
/usr/src/modules/zaptel/kernel/opvxa1200.c:477: warning: unused variable 'pos'
/usr/src/modules/zaptel/kernel/opvxa1200.c:477: warning: unused variable 'x'
/usr/src/modules/zaptel/kernel/opvxa1200.c: In function 'wctdm_receiveprep':
/usr/src/modules/zaptel/kernel/opvxa1200.c:599: warning: unused variable 'y'
CC [M] /usr/src/modules/zaptel/kernel/wcopenpci.o
/usr/src/modules/zaptel/kernel/wcopenpci.c:850:2: error: #error No big endian support (yet)
/usr/src/modules/zaptel/kernel/wcopenpci.c:904:2: error: #error No big endian support (yet)
make[4]: *** [/usr/src/modules/zaptel/kernel/wcopenpci.o] Error 1
make[3]: *** [_module_/usr/src/modules/zaptel/kernel] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-2-sparc64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/modules/zaptel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/zaptel'
make: *** [kdist_build] Error 2
Could someone fix the little vs. big endian problem?
I'd like to be able to use a hfc ISDN card on a Ultra10.
Complete buildlog:
(/var/cache/modass/zaptel-source.buildlog.2.6.26-2-sparc64.1251925415)
dh_testdir
dh_testroot
rm -f *-stamp
# Delete the generated bristuff symlinks:
rm -f -f cwain.[ch] qozap.[ch] zaphfc.[ch] ztgsm.[ch]
# Add here commands to clean up after the build process.
rm -rf modexamples
rm -f tonezones.txt
rm -f version.h
rm -rf debian/fake
# * Makefile does not exist when running svn-buildpackage
# as the source tree is not there.
# FIXME: This will fail with an ugly warning on the clean of the
# modules build. However only fter the actuual clean.
[ ! -f Makefile ] || /usr/bin/make dist-clean || true
make[1]: Entering directory `/usr/src/modules/zaptel'
make: Entering an unknown directory
make: Leaving an unknown directory
rm -f torisatool
rm -f fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest ztscan
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f libtonezone.so libtonezone.a *.lo
/usr/bin/make -C /lib/modules/2.6.26-2-sparc64/build ARCH=sparc64 SUBDIRS=/usr/src/modules/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/" clean
make[2]: Entering directory `/usr/src/linux-headers-2.6.26-2-sparc64'
CLEAN /usr/src/modules/zaptel/kernel
CLEAN /usr/src/modules/zaptel/kernel/.tmp_versions
make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-2-sparc64'
make[2]: Entering directory `/usr/src/modules/zaptel/kernel/xpp/utils'
rm -f *.o init_fxo_modes print_modes perlcheck zt_registration.8 xpp_sync.8 lszaptel.8 xpp_blink.8 zapconf.8 zaptel_hardware.8
make[2]: Leaving directory `/usr/src/modules/zaptel/kernel/xpp/utils'
make: Entering an unknown directory
make: Leaving an unknown directory
make[1]: Leaving directory `/usr/src/modules/zaptel'
#rm -f debian/manpage.links debian/manpage.refs debian/*.8
dh_clean
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/zaptel'
dh_testdir
dh_testroot
rm -f *-stamp
# Delete the generated bristuff symlinks:
rm -f -f cwain.[ch] qozap.[ch] zaphfc.[ch] ztgsm.[ch]
# Add here commands to clean up after the build process.
rm -rf modexamples
rm -f tonezones.txt
rm -f version.h
rm -rf debian/fake
# * Makefile does not exist when running svn-buildpackage
# as the source tree is not there.
# FIXME: This will fail with an ugly warning on the clean of the
# modules build. However only fter the actuual clean.
[ ! -f Makefile ] || /usr/bin/make dist-clean || true
make[2]: Entering directory `/usr/src/modules/zaptel'
make: Entering an unknown directory
make: *** menuselect: No such file or directory. Stop.
make: Leaving an unknown directory
make[2]: [clean] Error 2 (ignored)
rm -f torisatool
rm -f fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest ztscan
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f libtonezone.so libtonezone.a *.lo
/usr/bin/make -C /lib/modules/2.6.26-2-sparc64/build ARCH=sparc64 SUBDIRS=/usr/src/modules/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/" clean
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-2-sparc64'
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-2-sparc64'
make[3]: Entering directory `/usr/src/modules/zaptel/kernel/xpp/utils'
rm -f *.o init_fxo_modes print_modes perlcheck zt_registration.8 xpp_sync.8 lszaptel.8 xpp_blink.8 zapconf.8 zaptel_hardware.8
make[3]: Leaving directory `/usr/src/modules/zaptel/kernel/xpp/utils'
make: Entering an unknown directory
make: *** ppp: No such file or directory. Stop.
make: Leaving an unknown directory
make[2]: *** [clean] Error 2
make[2]: Leaving directory `/usr/src/modules/zaptel'
#rm -f debian/manpage.links debian/manpage.refs debian/*.8
dh_clean
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.26-2-sparc64/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.26-2-sparc64/g ;s/#KVERS#/2.6.26-2-sparc64/g ; s/_KVERS_/2.6.26-2-sparc64/g ; s/##KDREV##/2.6.26-17lenny2/g ; s/#KDREV#/2.6.26-17lenny2/g ; s/_KDREV_/2.6.26-17lenny2/g ' < $templ > ${templ%.modules.in}; \
done
dh_testdir
dh_testroot
dh_clean -k
cp -a /usr/src/modules/zaptel/debian/generated/* .
../configure
checking for gcc... gcc-4.1
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.1 accepts -g... yes
checking for gcc-4.1 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc-4.1 -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for GNU make... make
checking for grep... /bin/grep
checking for sh... /bin/sh
checking for ln... /bin/ln
checking for wget... /usr/bin/wget
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for newtBell in -lnewt... no
checking for usb_init in -lusb... no
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
config.status: creating build_tools/make_firmware_object
configure: *** Zaptel build successfully configured ***
make MODULES_EXTRA="ds1x1f opvxa1200 wcopenpci cwain qozap zaphfc ztgsm" SUBDIRS_EXTRA="vzaphfc oslec" modules KERNEL_SOURCES=/lib/modules/2.6.26-2-sparc64/build MODVERSIONS=detect KERNEL=linux-2.6.26-2-sparc64
make[2]: Entering directory `/usr/src/modules/zaptel'
make -C /lib/modules/2.6.26-2-sparc64/build ARCH=sparc64 SUBDIRS=/usr/src/modules/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o ds1x1f.o opvxa1200.o wcopenpci.o cwain.o qozap.o zaphfc.o ztgsm.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/ vzaphfc/ oslec/" modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-2-sparc64'
gcc -o /usr/src/modules/zaptel/kernel/makefw /usr/src/modules/zaptel/kernel/makefw.c
/usr/src/modules/zaptel/kernel/makefw /usr/src/modules/zaptel/kernel/pciradio.rbt radfw > /usr/src/modules/zaptel/kernel/radfw.h
Loaded 42096 bytes from file
CC [M] /usr/src/modules/zaptel/kernel/pciradio.o
/usr/src/modules/zaptel/kernel/makefw /usr/src/modules/zaptel/kernel/tormenta2.rbt tor2fw > /usr/src/modules/zaptel/kernel/tor2fw.h
Loaded 69900 bytes from file
CC [M] /usr/src/modules/zaptel/kernel/tor2.o
CC [M] /usr/src/modules/zaptel/kernel/torisa.o
CC [M] /usr/src/modules/zaptel/kernel/wcfxo.o
CC [M] /usr/src/modules/zaptel/kernel/wct1xxp.o
CC [M] /usr/src/modules/zaptel/kernel/wctdm.o
CC [M] /usr/src/modules/zaptel/kernel/wcte11xp.o
CC [M] /usr/src/modules/zaptel/kernel/wcusb.o
CC [M] /usr/src/modules/zaptel/kernel/zaptel-base.o
LD [M] /usr/src/modules/zaptel/kernel/zaptel.o
CC [M] /usr/src/modules/zaptel/kernel/ztd-eth.o
CC [M] /usr/src/modules/zaptel/kernel/ztd-loc.o
CC [M] /usr/src/modules/zaptel/kernel/ztdummy.o
CC [M] /usr/src/modules/zaptel/kernel/ztdynamic.o
CC [M] /usr/src/modules/zaptel/kernel/zttranscode.o
CC [M] /usr/src/modules/zaptel/kernel/ds1x1f.o
CC [M] /usr/src/modules/zaptel/kernel/opvxa1200.o
/usr/src/modules/zaptel/kernel/opvxa1200.c: In function 'wctdm_transmitprep':
/usr/src/modules/zaptel/kernel/opvxa1200.c:477: warning: unused variable 'pos'
/usr/src/modules/zaptel/kernel/opvxa1200.c:477: warning: unused variable 'x'
/usr/src/modules/zaptel/kernel/opvxa1200.c: In function 'wctdm_receiveprep':
/usr/src/modules/zaptel/kernel/opvxa1200.c:599: warning: unused variable 'y'
CC [M] /usr/src/modules/zaptel/kernel/wcopenpci.o
/usr/src/modules/zaptel/kernel/wcopenpci.c:850:2: error: #error No big endian support (yet)
/usr/src/modules/zaptel/kernel/wcopenpci.c:904:2: error: #error No big endian support (yet)
make[4]: *** [/usr/src/modules/zaptel/kernel/wcopenpci.o] Error 1
make[3]: *** [_module_/usr/src/modules/zaptel/kernel] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-2-sparc64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/modules/zaptel'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/zaptel'
make: *** [kdist_build] Error 2
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: sparc (sparc64)
Kernel: Linux 2.6.26-2-sparc64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages zaptel-source depends on:
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii debhelper 7.0.15 helper programs for debian/rules
ii module-assistant 0.10.11.0 tool to make module package creati
Versions of packages zaptel-source recommends:
ii zaptel 1:1.4.11~dfsg-3 zapata telephony utilities
zaptel-source suggests no packages.
-- no debconf information
More information about the Pkg-voip-maintainers
mailing list