Smartlink USB, SOUTHAFRICA Fedora Core release 6 (Zod) Kernel kernel 2.6.20-1.2944.fc6 x86_64

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

 



Hi

I have included my ModemData.txt file at the very end of this message.

I have the USB device
ID 0483:7554 SGS Thomson Microelectronics 56k SoftModem

I have downloaded the slmodem tar file:
  http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20070505.tar.gz

I have extracted it and am battling to compile it.  In the extraced
folder there is a file:
Smartlink.txt
which has a paragraph stating:
For service on 64 bit AMD x86_64 processor mother boards, see
          http://linmodems.technion.ac.il/archive-fourth/msg02594.html
          http://linmodems.technion.ac.il/archive-fifth/msg02490.html
However a 64 bit compilation of a proprietary dsplibs.o conponent is not
available. Hence for modem must be operated in 32 bit mode. The compiling
   must be done with the 32 bit version of compiling resources
.... and later ....
For USB modems with ID 0483:7554 use Smartlink driver:          slusb.ko

Sadly the two links it refers to are not overly helpful (for one thing
I am NOT using 2.9.9 but the latest available version of 2.9.11, and
secondly I should be using slusb.ko, not ALSA, from what I read in
Smarlink.txt ).  Based on msg02594 I have set the CFLAGS to include
the option -m32 in the modems/Makefile file.  However, I still cannot
compile successfully.

I am running on Fedora Core 6 x86_64 on an AMD

Below follows the output of "make".  It complains about /usr/bin/ld
having problems.  This file comes from the package:
[root@fedora slmodem-2.9.11-20070505]# rpm -q --whatprovides
/usr/bin/ld  --queryformat "%{name}-%{version}-%{release}.%{arch}\n"
  binutils-2.17.50.0.6-2.fc6.x86_64
which is the only binutils installed on my system.

Thanks in advance for your assistance.  (And why must Linux devices
always be such a mission to get working?  I am a HUGE advocate of
using Linux but I know if I am battling then my friends will NEVER
cope!)

Regards
Louis

[root@fedora slmodem-2.9.11-20070505]# make clean
make -C modem clean &&  make -C drivers clean &&  echo "done."
  make[1]: Entering directory `/root/work/slmodem-2.9.11-20070505/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 `/root/work/slmodem-2.9.11-20070505/modem'
make[1]: Entering directory `/root/work/slmodem-2.9.11-20070505/drivers'
rm -f kernel-ver slamr.o slusb.o slamr.ko    slusb.ko *st7554.o
amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
rm -f -r .tmp_versions
make[1]: Leaving directory `/root/work/slmodem-2.9.11-20070505/drivers'
done.


[root@fedora slmodem-2.9.11-20070505]# make
make -C modem all
make[1]: Entering directory `/root/work/slmodem-2.9.11-20070505/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_cmdline.o -c
modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_datafile.o -c
modem_datafile.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_timer.o -c
modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_pack.o -c modem_pack.c
modem_pack.c: In function 'modem_async_get_bits':
modem_pack.c:100: warning: pointer targets in passing argument 2 of
'm->get_chars' differ in signedness
modem_pack.c: In function 'modem_async_put_bits':
modem_pack.c:148: warning: pointer targets in passing argument 2 of
'm->put_chars' differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_ec.o -c modem_ec.c
modem_ec.c: In function 'tx_info':
modem_ec.c:723: warning: pointer targets in passing argument 2 of
'l->modem->get_chars' differ in signedness
modem_ec.c: In function 'push_rest_data':
modem_ec.c:811: warning: pointer targets in passing argument 2 of
'l->modem->put_chars' differ in signedness
modem_ec.c: In function 'rx_info':
modem_ec.c:860: warning: pointer targets in passing argument 2 of
'l->modem->put_chars' differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_param.o -c
modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o modem_debug.o -c
modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o homolog_data.o -c
homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -m32   -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
/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: In function `ModulusEncoder::progress
(unsigned char*, unsigned int*)':
(.text+0x32480): undefined reference to `__moddi3'
dsplibs.o: In function `ModulusEncoder::progress
(unsigned char*, unsigned int*)':
(.text+0x324b6): undefined reference to `__divdi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x324d7): undefined reference to `__moddi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x32504): undefined reference to `__divdi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x32527): undefined reference to `__moddi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x32552): undefined reference to `__divdi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x32575): undefined reference to `__moddi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x325a0): undefined reference to `__divdi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x325c1): undefined reference to `__moddi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x325ee): undefined reference to `__divdi3'
dsplibs.o: In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3dddc): undefined reference to `__moddi3'
dsplibs.o   : In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3de04): undefined reference to `__divdi3'
dsplibs.o: In function
`V90ConstellationPower::calcModulusParameters(V90Mappi ngParams*)':
(.text+0x3de2a): undefined reference to `__moddi3'
dsplibs.o: In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3de52): undefined reference to `__divdi3'
dsplibs.o   : In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3de78): undefined reference to `__moddi3'
dsplibs.o: In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3dea0): undefined reference to `__divdi3'
dsplibs.o: In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3dec6): undefined reference to `__moddi3'
dsplibs.o   : In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3deee): undefined reference to `__divdi3'
dsplibs.o: In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3df14): undefined reference to `__moddi3'
dsplibs.o: In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3df3e): undefined reference to `__divdi3'
dsplibs.o   : In function
`V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
(.text+0x3df6f): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x55df3): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x55e23): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x55f6b): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x55fa9): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56100): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56132): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x5614a): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x561ac): undefined reference to `__divdi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56210): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x5625a): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x562a5): undefined reference to `__divdi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x562c9): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x562fe): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56322): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56353): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56379): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x563aa): undefined reference to `__divdi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x563ce): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56403): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56427): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56458): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x5647c): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x564b1): undefined reference to `__divdi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x564d3): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56506): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x5652c): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x5655d): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56581): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x565b4): undefined reference to `__divdi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x565fe): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56626): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56658): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x566b3): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56709): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x5672d): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x5684a): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56876): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56909): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56950): undefined reference to `__divdi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56974): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56a5a): undefined reference to `__moddi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56a8c): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56aab): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56adf): undefined reference to `__divdi3'
dsplibs.o   : In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56b0b): undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x56b64): undefined reference to `__divdi3'
collect2: ld returned 1 exit status
make[1]: *** [slmodemd] Error 1
make[1]: Leaving directory `/root/work/slmodem-2.9.11-20070505/modem'
make: *** [modem] Error 2
[root@fedora slmodem-2.9.11-20070505]#


ModemData.txt file:
Only plain text email is forwarded by the   DISCUSS@xxxxxxxxxxxxx  List Server.
Do use the following as the email Subject Line:
          SomeName, YourCountry Fedora Core release 6 (Zod)
Kernel  kernel 2.6.20-1.2944.fc6
This will alert cogent experts, and  distinguish cases in the Archives.
YourCountry will enable Country Code guidance.
Occassionally responses are blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at  http://www.linmodems.org  .
Local Linux experts can be found through:
http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
CPU=x86_64,  Fedora Core release 6 (Zod)
Kernel
Linux version 2.6.20-1.2944.fc6 (
brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20070105
(Red Hat  4.1.1-51)) #1 SMP Tue Apr 10 17:46:00 EDT 2007
scanModem update of:  2007_June_19


ALSAversion 1.0.14rc1
Bus 001 Device 002: ID 0483:7554 SGS Thomson Microelectronics 56k SoftModem
 idVendor           0x0483 SGS Thomson Microelectronics
 idProduct          0x7554 56k SoftModem

Modem or host audio card candidates have firmware information:

=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===


       A modem was not detected among the PCI devices:
------------------------------------------------
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97
Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
05:00.0 VGA compatible controller: ATI Technologies Inc RV515 [Radeon X1300]
05:00.1 Display controller: ATI Technologies Inc RV515 [Radeon X1300]
(Secondary)
------------------------------------------------
with USB and bridge devices not displayed.
Please provide any independent information available on your modem.

       If your modem is mounted on an ISA card, scanModem could not access it.
       If an alternative boot into Microsoft windows can be done, do mouse
clicks on:
  Start > Settings > Control Panel > Classical View (for Window XP) > System
Hardware > Device Manager > Modems > Click on the + > Modem. Double click to
expand the graphic. Manufacturer information may be displayed. For example, CXT
stands for Conexant. Click the Diagnostics Tab. Record any hardware ID
or vendor
and device information.
Next do the Query Modem and record the ATI specifications displayed such as:
   ATI3 - Agere SoftModem Version 2.1.22
   ATI5 - 2.1.22, AMR Intel MB, AC97 ID:SIL REV:0x27
Try to identify the modem setup file, with name perhaps  MODEM.INF.
If may contain chipset Vendor informaton.

Checking for audio+modem support in /proc/asound/pcm
00-02: Intel ICH - IEC958 : NVidia CK804 - IEC958 : playback 1
00-01: Intel ICH - MIC ADC : NVidia CK804 - MIC ADC : capture 1
00-00: Intel ICH : NVidia CK804 : playback 1 : capture 1

Completed candidate modem analyses.

The base of the UDEV device file system is: /dev/.udev

Versions adequately match for the compiler installed:  4.1.1
            and the compiler used in kernel assembly: 4.1.1

Kernel-header resources needed for compiling are not manifestly ready!

If compiling is necessary packages must be installed, providing:
        kernel-source-2.6.20-1.2944.fc6


Checking pppd properties:
       -r-xr-xr-x 1 root root 337264 Dec  1  2006 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
   http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
       $ su - root  (not for Ubuntu)
        chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
        chmod a+x /usr/sbin/pppd

Checking settings of:   /etc/ppp/options
lock

In case of a message like:
  Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html

Read Modem/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

Don't worry about the following, it is for the experts
should trouble shooting be necessary.
==========================================================

Checking for modem support lines:
--------------------------------------
    /device/modem symbolic link:
slmodemd created symbolic link /dev/ttySL0:
    Within /etc/udev/ files:
/etc/udev/rules.d/50- udev.rules:KERNEL=="modems/mwave*",
NAME="%k", GROUP="uucp", MODE="0660"
    Within /etc/modprobe.conf files:

    Within any ancient /etc/devfs files:

    Within ancient kernel  2.4.n /etc/module.conf files:

--------- end modem support lines --------

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

  Powered by Linux