Re: gcc-4.3 compiler faults slmodemd assembly

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

 



I have tried with latest offering from Fedora and kernel.org 2.6.27.5
code and it compiles as well

[olivares@riohigh Download]$ tar -zxvf slmodem-2.9.11-20080817.tar.gz
slmodem-2.9.11-20080817/
slmodem-2.9.11-20080817/Makefile
slmodem-2.9.11-20080817/patches/
slmodem-2.9.11-20080817/patches/no_slusb.patch
slmodem-2.9.11-20080817/patches/slmodem-usb-2.6.16.patch
slmodem-2.9.11-20080817/patches/zello.diff
slmodem-2.9.11-20080817/patches/alsa-linux-2.6.0.patch
slmodem-2.9.11-20080817/patches/zello.txt
slmodem-2.9.11-20080817/patches/marv.txt
slmodem-2.9.11-20080817/patches/marv.diff
slmodem-2.9.11-20080817/patches/no_slusb.txt
slmodem-2.9.11-20080817/Documentation/
slmodem-2.9.11-20080817/Documentation/x86_64.txt
slmodem-2.9.11-20080817/Documentation/Smartlink.txt
slmodem-2.9.11-20080817/Documentation/ALSA_support.txt
slmodem-2.9.11-20080817/Documentation/compile_example.txt
slmodem-2.9.11-20080817/README
slmodem-2.9.11-20080817/scripts/
slmodem-2.9.11-20080817/scripts/slmodem.spec
slmodem-2.9.11-20080817/scripts/debian/
slmodem-2.9.11-20080817/scripts/debian/slmodemd
slmodem-2.9.11-20080817/scripts/slackware/
slmodem-2.9.11-20080817/scripts/slackware/README
slmodem-2.9.11-20080817/scripts/slackware/rc.slmodemd
slmodem-2.9.11-20080817/scripts/suse/
slmodem-2.9.11-20080817/scripts/suse/slmodemd.conf
slmodem-2.9.11-20080817/scripts/suse/slmodemd.SUSE
slmodem-2.9.11-20080817/scripts/mandrake/
slmodem-2.9.11-20080817/scripts/mandrake/slmodemd
slmodem-2.9.11-20080817/scripts/slmodemd
slmodem-2.9.11-20080817/scripts/slmodemd.ubuntu.italy
slmodem-2.9.11-20080817/COPYING
slmodem-2.9.11-20080817/drivers/
slmodem-2.9.11-20080817/drivers/Makefile
slmodem-2.9.11-20080817/drivers/amrmo_init.c
slmodem-2.9.11-20080817/drivers/kernel-ver.c
slmodem-2.9.11-20080817/drivers/old_st7554.c
slmodem-2.9.11-20080817/drivers/sysdep_amr.c
slmodem-2.9.11-20080817/drivers/amrlibs.o
slmodem-2.9.11-20080817/drivers/Modules.symvers
slmodem-2.9.11-20080817/drivers/st7554.c
slmodem-2.9.11-20080817/drivers/Module.symvers
slmodem-2.9.11-20080817/drivers/modules.order
slmodem-2.9.11-20080817/faxing/
slmodem-2.9.11-20080817/faxing/wvdial.conf
slmodem-2.9.11-20080817/faxing/modem.sh
slmodem-2.9.11-20080817/faxing/smartlink.pdf
slmodem-2.9.11-20080817/faxing/xtel.diff
slmodem-2.9.11-20080817/faxing/sm56_initstrings
slmodem-2.9.11-20080817/faxing/1stRead.txt
slmodem-2.9.11-20080817/faxing/xtel.lignes
slmodem-2.9.11-20080817/faxing/modem
slmodem-2.9.11-20080817/modem/
slmodem-2.9.11-20080817/modem/modem.c
slmodem-2.9.11-20080817/modem/Makefile
slmodem-2.9.11-20080817/modem/modem_debug.c
slmodem-2.9.11-20080817/modem/modem_comp.c
slmodem-2.9.11-20080817/modem/dp_sinus.c
slmodem-2.9.11-20080817/modem/modem_datafile.c
slmodem-2.9.11-20080817/modem/modem_ec.c
slmodem-2.9.11-20080817/modem/modem_at.c
slmodem-2.9.11-20080817/modem/modem_param.h
slmodem-2.9.11-20080817/modem/modem_timer.c
slmodem-2.9.11-20080817/modem/modem_test.c
slmodem-2.9.11-20080817/modem/sysdep_common.c
slmodem-2.9.11-20080817/modem/modem_pack.c
slmodem-2.9.11-20080817/modem/modem_homolog.h
slmodem-2.9.11-20080817/modem/modem_defs.h
slmodem-2.9.11-20080817/modem/Makefile.20080401
slmodem-2.9.11-20080817/modem/modem_debug.h
slmodem-2.9.11-20080817/modem/modem_main.c
slmodem-2.9.11-20080817/modem/homolog_data.c
slmodem-2.9.11-20080817/modem/modem_timer.h
slmodem-2.9.11-20080817/modem/dsplibs.o
slmodem-2.9.11-20080817/modem/dp_dummy.c
slmodem-2.9.11-20080817/modem/modem_param.c
slmodem-2.9.11-20080817/modem/modem_cmdline.c
slmodem-2.9.11-20080817/modem/modem.h
slmodem-2.9.11-20080817/modem/modem_dp.h
slmodem-2.9.11-20080817/Changes
[olivares@riohigh Download]$ cd slmodem-2.9.11-20080817
[olivares@riohigh slmodem-2.9.11-20080817]$ uname -r
2.6.27.5-94.fc10.i686
[olivares@riohigh slmodem-2.9.11-20080817]$ make
KERNEL_VER=/lib/modules/2.6.27.5-94.fc10.i686/build/
make -C modem all
make[1]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20080817/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c
modem_datafile.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c modem_pack.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o
modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o
modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o
dsplibs.o sysdep_common.o
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c modem_test.c
gcc -o modem_test modem_test.o modem_cmdline.o modem.o
modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o
dp_dummy.o dsplibs.o sysdep_common.o
make[1]: Leaving directory
`/home/olivares/Download/slmodem-2.9.11-20080817/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.27.5-94.fc10.i686/build
make[1]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20080817/drivers'
	obj-m=slamr.o
	slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
make modules -C /lib/modules/2.6.27.5-94.fc10.i686/build
SUBDIRS=/home/olivares/Download/slmodem-2.9.11-20080817/drivers
make[2]: Entering directory `/usr/src/kernels/2.6.27.5-94.fc10.i686'
  CC [M]  /home/olivares/Download/slmodem-2.9.11-20080817/drivers/amrmo_init.o
  CC [M]  /home/olivares/Download/slmodem-2.9.11-20080817/drivers/sysdep_amr.o
  LD [M]  /home/olivares/Download/slmodem-2.9.11-20080817/drivers/slamr.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: could not find
/home/olivares/Download/slmodem-2.9.11-20080817/drivers/.amrlibs.o.cmd
for /home/olivares/Download/slmodem-2.9.11-20080817/drivers/amrlibs.o
  CC      /home/olivares/Download/slmodem-2.9.11-20080817/drivers/slamr.mod.o
  LD [M]  /home/olivares/Download/slmodem-2.9.11-20080817/drivers/slamr.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.27.5-94.fc10.i686'
	finished all:
make[1]: Leaving directory
`/home/olivares/Download/slmodem-2.9.11-20080817/drivers'
[olivares@riohigh slmodem-2.9.11-20080817]$ make
make -C modem all
make[1]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20080817/modem'
make[1]: Leaving directory
`/home/olivares/Download/slmodem-2.9.11-20080817/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.27.5-94.fc10.i686/build
make[1]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20080817/drivers'
doing kernel-ver::
cc -I/lib/modules/2.6.27.5-94.fc10.i686/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.27.5-94.fc10.i686
make[2]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20080817/drivers'
	obj-m=slamr.o
	slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
make modules -C /lib/modules/2.6.27.5-94.fc10.i686/build
SUBDIRS=/home/olivares/Download/slmodem-2.9.11-20080817/drivers
make[3]: Entering directory `/usr/src/kernels/2.6.27.5-94.fc10.i686'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: could not find
/home/olivares/Download/slmodem-2.9.11-20080817/drivers/.amrlibs.o.cmd
for /home/olivares/Download/slmodem-2.9.11-20080817/drivers/amrlibs.o
make[3]: Leaving directory `/usr/src/kernels/2.6.27.5-94.fc10.i686'
	finished all:
make[2]: Leaving directory
`/home/olivares/Download/slmodem-2.9.11-20080817/drivers'
make[1]: Leaving directory
`/home/olivares/Download/slmodem-2.9.11-20080817/drivers'
[olivares@riohigh slmodem-2.9.11-20080817]$


Regards,

Antonio

On Tue, Nov 11, 2008 at 7:00 AM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Marv,
>
> In one of my machines slmodem-2.9.11-20080817 code compiles fine and installs:
>
> [olivares@localhost Downloads]$ cd slmodem-2.9.11-20080817
> [olivares@localhost slmodem-2.9.11-20080817]$ make clean
> make -C modem clean &&  make -C drivers clean &&  echo "done."
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem'
> rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o sysdep_common.o
> rm -f *~ *.orig *.rej
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem'
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> rm -f kernel-ver slamr.o  slamr.ko *st7554.o amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
> rm -f -r .tmp_versions
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> done.
> [olivares@localhost slmodem-2.9.11-20080817]$ make KERNEL_DIR=/lib/modules/2.6.27.4-
> 2.6.27.4-51.fc10.i686/ 2.6.27.4-68.fc10.i686/
> 2.6.27.4-58.fc10.i686/ 2.6.27.4-79.fc10.i686/
> [olivares@localhost slmodem-2.9.11-20080817]$ make KERNEL_DIR=/lib/modules/2.6.27.4-79.fc10.i686/build/
> make -C modem all
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem'
> rebuild profile...
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c modem_cmdline.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c modem_datafile.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c modem_at.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c modem_timer.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c modem_pack.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c modem_comp.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c modem_param.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c modem_debug.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c homolog_data.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c dp_sinus.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c dp_dummy.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c sysdep_common.c
> gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c modem_test.c
> gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.27.4-79.fc10.i686/build/
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> doing kernel-ver::
> cc -I/lib/modules/2.6.27.4-79.fc10.i686/build//include -o kernel-ver kernel-ver.c
> make all KERNEL_VER=2.6.27.4-79.fc10.i686
> make[2]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
>        obj-m=slamr.o
>        slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
> make modules -C /lib/modules/2.6.27.4-79.fc10.i686/build/ SUBDIRS=/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers
> make[3]: Entering directory `/usr/src/kernels/2.6.27.4-79.fc10.i686'
>  CC [M]  /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/amrmo_init.o
>  CC [M]  /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/sysdep_amr.o
>  LD [M]  /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/slamr.o
>  Building modules, stage 2.
>  MODPOST 1 modules
> WARNING: could not find /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/.amrlibs.o.cmd for /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/amrlibs.o
>  CC      /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/slamr.mod.o
>  LD [M]  /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/slamr.ko
> make[3]: Leaving directory `/usr/src/kernels/2.6.27.4-79.fc10.i686'
>        finished all:
> make[2]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> [olivares@localhost slmodem-2.9.11-20080817]$ make
> make -C modem all
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem'
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.27.4-79.fc10.i686/build
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> doing kernel-ver::
> cc -I/lib/modules/2.6.27.4-79.fc10.i686/build/include -o kernel-ver kernel-ver.c
> make all KERNEL_VER=2.6.27.4-79.fc10.i686
> make[2]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
>        obj-m=slamr.o
>        slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
> make modules -C /lib/modules/2.6.27.4-79.fc10.i686/build SUBDIRS=/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers
> make[3]: Entering directory `/usr/src/kernels/2.6.27.4-79.fc10.i686'
>  Building modules, stage 2.
>  MODPOST 1 modules
> WARNING: could not find /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/.amrlibs.o.cmd for /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/amrlibs.o
> make[3]: Leaving directory `/usr/src/kernels/2.6.27.4-79.fc10.i686'
>        finished all:
> make[2]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> [olivares@localhost slmodem-2.9.11-20080817]$ su
> Password:
> [root@localhost slmodem-2.9.11-20080817]# make install
> make -C modem all
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem'
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem'
> make -C drivers KERNEL_DIR=/lib/modules/2.6.27.4-79.fc10.i686/build
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> doing kernel-ver::
> cc -I/lib/modules/2.6.27.4-79.fc10.i686/build/include -o kernel-ver kernel-ver.c
> make all KERNEL_VER=2.6.27.4-79.fc10.i686
> make[2]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
>        obj-m=slamr.o
>        slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
> make modules -C /lib/modules/2.6.27.4-79.fc10.i686/build SUBDIRS=/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers
> make[3]: Entering directory `/usr/src/kernels/2.6.27.4-79.fc10.i686'
>  Building modules, stage 2.
>  MODPOST 1 modules
> WARNING: could not find /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/.amrlibs.o.cmd for /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/amrlibs.o
> make[3]: Leaving directory `/usr/src/kernels/2.6.27.4-79.fc10.i686'
>        finished all:
> make[2]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> make install -C drivers KERNEL_DIR=/lib/modules/2.6.27.4-79.fc10.i686/build
> make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> doing kernel-ver::
> cc -I/lib/modules/2.6.27.4-79.fc10.i686/build/include -o kernel-ver kernel-ver.c
> mkdir -p /dev
> mknod -m 600 /dev/slamr0 c 242 0 ;   mknod -m 600 /dev/slamr1 c 242 1 ;   mknod-m 600 /dev/slamr2 c 242 2 ;   mknod -m 600 /dev/slamr3 c 242 3 ;  echo -n
> make install KERNEL_VER=2.6.27.4-79.fc10.i686
> make[2]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> install -D -m 644 slamr.ko /lib/modules/2.6.27.4-79.fc10.i686/extra/slamr.ko
> /sbin/depmod -a
> make[2]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers'
> install -D -m 755 modem/slmodemd /usr/sbin/slmodemd
> rm -f -rf /var/lib/slmodem
> install -d -D -m 755 /var/lib/slmodem
> [root@localhost slmodem-2.9.11-20080817]#
>
>
> [olivares@localhost slmodem-2.9.11-20080817]$ cat /etc/fedora-release
> Fedora release 9.93 (Rawhide)
> [olivares@localhost slmodem-2.9.11-20080817]$ uname -a
> Linux localhost 2.6.27.4-79.fc10.i686 #1 SMP Tue Nov 4 21:56:37 EST 2008 i686 athlon i386 GNU/Linux
> [olivares@localhost slmodem-2.9.11-20080817]$ which gcc
> /usr/bin/gcc
> [olivares@localhost slmodem-2.9.11-20080817]$ rpm -qa gcc*
> gcc-4.3.2-7.i386
> gcc-java-4.3.2-7.i386
> gcc-gfortran-4.3.2-7.i386
> gcc-c++-4.3.2-7.i386
> [olivares@localhost slmodem-2.9.11-20080817]$
>
> Hope this helps in some way.
>
> Regards,
>
> Antonio
>
>
> --- On Mon, 11/10/08, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
>
>> From: Antonio Olivares <olivares14031@xxxxxxxxx>
>> Subject: Re: gcc-4.3 compiler faults slmodemd assembly
>> To: "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx>
>> Cc: "linmodems" <discuss@xxxxxxxxxxxxx>
>> Date: Monday, November 10, 2008, 8:27 PM
>> Marv,
>>
>> I can try to run some tests tomorrow at work with kernel
>> 2.6.27.4 with
>> respect to compling slamr.ko on Fedora 10 Preview and get
>> some
>> feedback regarding this.  The regular SLMODEMD.gcc4.3 does
>> compile
>> correctly but have not tested with newer gcc 4.3.2 on
>> Fedora 10
>> Preview/Rawhide.
>>
>> Regards,
>>
>> Antonio
>>
>> On Mon, Nov 10, 2008 at 10:00 PM, Marvin Stodolsky
>> <marvin.stodolsky@xxxxxxxxx> wrote:
>> > Trying to isolate the problem with slmodem package
>> compiles under
>> > kernels 2.6.27, I ran several trials.
>> > If the compile is only done in the drivers/ folder,
>> slamr.ko compile
>> > is successful using either version gcc 4.2 or 4.3
>> compilers
>> >
>> > But as  summarized in the short table below, the
>> slmodemd compile in
>> > the modem/ folder fails with the new gcc-4.3 compiler:
>> >
>> > Kernel\gcc    4.2    4.3
>> > 2.4.21            +    failed
>> > 2.6.27            +    failed
>> >
>> > The failure is illustrated below.  To sum the problem
>> is that slmodemd
>> > assembly fails upon update of gcc-4.2  to  gcc-4.3
>> > If anyone has insights, please respond.
>> >
>> > For those of you wanting to use slamr.ko compiled with
>> gcc-4.3,
>> > I suspect the slmodemd compiled with gcc-4.2 would be
>> effective.
>> > However I don't  have hardware to run this test.
>> >
>> > MarvS
>> >
>> > with
>> > $ ls -l /usr/bin/gcc*
>> > lrwxrwxrwx 1 root root     16 2008-11-10 22:39
>> /usr/bin/gcc -> /usr/bin/gcc-4.3
>> > -rwxr-xr-x 1 root root 193372 2008-10-10 15:41
>> /usr/bin/gcc-4.2
>> > -rwxr-xr-x 1 root root 208068 2008-10-25 01:17
>> /usr/bin/gcc-4.3
>> >
>> > $ make
>> KERNEL_DIR=/usr/src/linux-headers-2.6.27-7-generic
>> > make -C modem all
>> > make[1]: Entering directory
>> `/usr/src/modules/slmodem-2.9.11-20080817/modem'
>> > rebuild profile...
>> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
>> modem_main.o -c modem_main.c
>> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
>> modem_cmdline.o -c modem_cmdline.c
>> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o
>> -c modem.c
>> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o
>> modem_datafile.o -c
>> > modem_datafile.c
>> > In function 'open',
>> >    inlined from 'datafile_save_info' at
>> modem_datafile.c:114:
>> > /usr/include/bits/fcntl2.h:51: error: call to
>> '__open_missing_mode'
>> > declared with attribute error: open with O_CREAT in
>> second argument
>> > needs 3 arguments
>> > make[1]: *** [modem_datafile.o] Error 1
>> > make[1]: Leaving directory
>> `/usr/src/modules/slmodem-2.9.11-20080817/modem'
>> > make: *** [modem] Error 2
>> >
>
>
>
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux