Can't compile PCTEL driver under OpenSuSE 10.2; configuration fails (Paul Abrahams, USA)

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

 



Here's the output from ./setup:

suillus:/usr/local/downloads/pctel-0.9.7-9-rht-6 # ./setup
checking for running kernel version...2.6.18
checking for ptserial...ptserial-2.6.c
checking for gcc...4.1.2
searching for kernel includes...found 
at /lib/modules/2.6.18.2-34-default/build/include
checking for 
autoconf.h.../lib/modules/2.6.18.2-34-default/build/include/linux/autoconf.h
checking for asm/mach-default...yes
checking for kernel version in version.h...t.c: In function ‘main’:
t.c:4: error: ‘UTS_RELEASE’ undeclared (first use in this function)
t.c:4: error: (Each undeclared identifier is reported only once
t.c:4: error: for each function it appears in.)
./configure: line 448: ./t: No such file or directory
rm: cannot remove `./t': No such file or directory
** error
could not determine a proper UTS_RELEASE
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.  A transcript of the build process
has been saved in src/make.log.  When reporting problems to
the development team, please send us this file.

And here's the output of the modem file:

--------------------------  System information ----------------------------
 
Welcome to openSUSE 10.2 (i586) - Kernel 
Linux version 2.6.18.2-34-default (geeko@buildhost) (gcc version 4.1.2 
20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006
 scanModem update of:  2006_December_25
The modem symbolic link is /dev/modem -> /dev/ttyS0

USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:0b.0	134d:7890	134d:0001	Modem: PCTel Inc HSP MicroModem 56 

 Modem interrupt assignment and sharing: 
161:          0   IO-APIC-level  ehci_hcd:usb3

 --- Bootup diagnositcs for card in PCI slot 00:0b.0 ----
PCI->APIC IRQ transform: 0000:00:0b.0[A] -> IRQ 161

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

 For candidate modem in PCI bus:  00:0b.0
   Class 0703: 134d:7890 Modem: PCTel Inc HSP MicroModem 56
      Primary PCI_id  134d:7890
 Support type needed or chipset:	PCTEL
 

    At http://linmodems.technion.ac.il/pctel-linux
 Get the pctel-0.9.7-9-rht-6.tar.gz
 Unpack under Linux with:
    tar zxf pctel*.tar.gz
 and read instuctions therein.
  Read Pctel.txt and Modem/YourSystem.txt for follow through guidance.

 Writing Pctel.txt

 Completed candidate modem analyses.

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

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

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

 If compiling is necessary packages must be installed, providing:
	 kernel-source-2.6.18.2-34-default


Checking pppd properties:
	-rwxr-xr-x 1 root dialout 295488 Nov 25 14:50 /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
noipdefault
noauth
crtscts
lock
modem
asyncmap 0
nodetach
lcp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
idle 600
noipx
file /etc/ppp/filters

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:   lrwxrwxrwx 1 root root 10 Jan  7 
17:59 /dev/modem -> /dev/ttyS0
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:
/etc/udev/rules.d/pctel.rules:KERNEL="ttyS_PCTEL0", SYMLINK="modem"
/etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",		NAME="modems/%k", 
GROUP="uucp"
/etc/udev/rules.d/31-network.rules:SUBSYSTEM=="net", ENV{INTERFACE}=="ppp*|
ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|bond*|vlan*|modem*|dsl*", 
GOTO="skip_ifup"
     Within /etc/modprobe.conf files:
/etc/modprobe.conf:# Linux ACP modem (Mwave)
/etc/modprobe.conf.rpmsave:# Linux ACP modem (Mwave)
/etc/modprobe.d/blacklist:# ALSA PCI sound/modem modules - should be 
configured via yast
/etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist:blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:
/etc/modules.conf:# Linux ACP modem (Mwave)
/etc/modules.conf.-:# Linux ACP modem (Mwave)
/etc/modules.conf.local:  # for pctel modem
/etc/modules.conf.local:  alias char-major-62 linmodem
/etc/modules.conf.local:  below linmodem pctel
/etc/modules.conf.local:  # country code for pctel modem
/etc/modules.conf.old:# Linux ACP modem (Mwave)
/etc/modules.conf.rpmsave.old:# Linux ACP modem (Mwave)
/etc/modules.conf~:# Linux ACP modem (Mwave)
--------- end modem support lines --------




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

  Powered by Linux