[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

slmodem: error compiling



Hi,

I have downloaded this package:
http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.9d-alsa.tar.gz

in modem dir I have modified Makefile (CFLAGS row) adding:
-m32 -lasound

but I got these errors after launched 'make':
/usr/bin/ld: warning: i386 architecture of input file `modem_main.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`modem_cmdline.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `modem.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`modem_datafile.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `modem_at.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `modem_timer.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `modem_pack.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `modem_ec.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `modem_comp.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `modem_param.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `modem_debug.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `homolog_data.o'
is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `dp_sinus.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `dp_dummy.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `dsplibs.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file
`sysdep_common.o' is incompatible with i386:x86-64 output
dsplibs.o(.text+0x25ac9): In function
`ModulusEncoder::progress(unsigned char *, unsigned int *)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x25aeb): In function
`ModulusEncoder::progress(unsigned char *, unsigned int *)':
: undefined reference to `__divdi3'
ecc.

Is it possible solve this problem?

Thank you very much
Giulio



Reply to: