>Even if u have i810 board, it does not mean u have to use --with-hal=i810.
>Check out what is the chipset of your modem from /proc/ioports. Than use
>that --with-hal=<chipset>
>If the chipset is one of the following then it will work :
>pct789, cm8738, i810intel, i810sis, via686a
I can't find what chipset it uses. My /proc/ioports is
[root@localhost linux-2.4.3]# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0540-054f : Intel Corporation 82801AA SMBus
0cf8-0cff : PCI conf1
b000-bfff : PCI Bus #01
bc00-bc3f : PCTel Inc HSP MicroModem 56
d800-d83f : Intel Corporation 82801AA AC'97 Audio
d800-d83f : Intel ICH 82801AA
dc00-dcff : Intel Corporation 82801AA AC'97 Audio
dc00-dcff : Intel ICH 82801AA
f000-f00f : Intel Corporation 82801AA IDE
f000-f007 : ide0
[root@localhost linux-2.4.3]#
>Check first if u have got kernel sources in /usr/src/linux or
>/usr/src/linux-2.4.3.
Linux sources is in /usr/src/linux-2.4.3.
[root@localhost linux-2.4.3]# pwd
/usr/src/linux-2.4.3
[root@localhost linux-2.4.3]# uname -a
Linux localhost.localdomain 2.4.3-12 #1 Fri Jun 8 15:05:56 EDT 2001 i686
unknown
[root@localhost linux-2.4.3]# ls -l
total 240
drwxr-xr-x 3 root root 4096 Oct 8 17:24 arch
drwxr-xr-x 2 root root 4096 Oct 8 17:24 configs
-rw-r--r-- 1 root root 18633 Sep 8 2000 COPYING
-rw-r--r-- 1 root root 74541 Jun 8 22:34 CREDITS
drwxr-xr-x 2 root root 4096 Oct 8 17:24 devfsd
drwxr-xr-x 26 root root 4096 Oct 8 17:24 Documentation
drwxr-xr-x 39 root root 4096 Oct 8 17:24 drivers
drwxr-xr-x 42 root root 4096 Oct 8 17:24 fs
drwxr-xr-x 9 root root 4096 Oct 26 21:12 include
drwxr-xr-x 2 root root 4096 Oct 8 17:24 init
drwxr-xr-x 2 root root 4096 Oct 8 17:24 ipc
drwxr-xr-x 2 root root 4096 Oct 8 17:24 kernel
drwxr-xr-x 2 root root 4096 Oct 8 17:24 lib
-rw-r--r-- 1 root root 35306 Jun 8 22:34 MAINTAINERS
-rw-r--r-- 1 root root 16169 Jun 8 23:02 Makefile
drwxr-xr-x 2 root root 4096 Oct 8 17:24 mm
drwxr-xr-x 27 root root 4096 Oct 8 17:24 net
-rw-r--r-- 1 root root 14491 Mar 26 2001 README
-rw-r--r-- 1 root root 2815 Jun 8 22:34 REPORTING-BUGS
-rw-r--r-- 1 root root 9194 Jun 8 22:34 Rules.make
drwxr-xr-x 5 root root 4096 Oct 8 17:24 scripts
[root@localhost linux-2.4.3]#
>If the sources are there than
>cd /usr/src/<linux or linux-2.4.3 whatever>
>make menuconfig
make menuconfig brings a "Kernel Configuration screen". Don't know what to
do. I just exit. It ask make changes to kernel. I click on "NO"
>make dep
This run fine
><This will create the modversion.h file>
modversions.h is available
[root@localhost pctel-0.8.6]# locate modversions.h
/usr/include/linux/modversions.h
/usr/src/linux-2.4.3/include/linux/modversions.h
----- Original Message -----
From: <[EMAIL PROTECTED]>
> > checking for /usr/src/linux-2.4.3/linux/modversions.h... >no>
>
> configure: error: modversions.h is missing - you should
> --------------------------------------------------------
> configure your> kernel first!
> ------------------------------
>
> U have the ans in Ur mail itself. Put the kernel sources in
> /usr/src.
>
> rpm -ivh kernel-sources*.rpm
There is linux source /usr/src/linux-2.4.3.
[root@localhost pctel-0.8.6]# rpm -qa|grep kernel
kernel-headers-2.4.3-12
kernel-doc-2.4.3-12
kernel-2.4.3-12
kernel-source-2.4.3-12
[root@localhost pctel-0.8.6]#
On running ./configure still get following error
[root@localhost pctel-0.8.6]#
./configure --with-hal=pct789 --with-kernel-includes=/usr/src/linux-2.4.3
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking build driver for... HAL_PCT789
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
checking for /usr/src/linux-2.4.3/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your
kernel first!
Please help
Regards,
Yujin Boby
Cherthala, Alappuzha, Kerala
[EMAIL PROTECTED]
www.w3pages.net
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help