Linmodems Mailing list Archives
Return-Path: <petersantiago@bigfoot.com>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 27780 invoked from network); 23 Jan 2002 10:54:23 -0000
Received: from unknown (HELO smtp3.info.com.ph) (202.57.96.77)
by www.linmodems.org with SMTP; 23 Jan 2002 10:54:23 -0000
Received: from smtp2 ([202.57.96.78])
by smtp3.info.com.ph (8.11.2/8.11.2) with ESMTP id g0N9wWa09521
for <discuss@linmodems.org>; Wed, 23 Jan 2002 17:58:32 +0800
Received: from PeterSantiago (localhost.localdomain [127.0.0.1])
by smtp2 (8.11.2/8.11.2) with SMTP id g0NAfxI11239
for <discuss@linmodems.org>; Wed, 23 Jan 2002 18:41:59 +0800
From: "Peter Santiago" <petersantiago@bigfoot.com>
To: "Discuss@Linmodems. Org" <discuss@linmodems.org>
Subject: RE: compile error CL-MD5620DT
Date: Wed, 23 Jan 2002 18:55:44 +0800
Message-ID: <KGEDJMFKKIKIABDGMLEJIEOACDAA.petersantiago@bigfoot.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <Pine.LNX.4.05_heb2.08.10201231227080.23594-100000@phep2.technion.ac.il>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
Jacques,
Used RH 7.2 to compile same error is produced... I guess 2.4.x kernel
libraries are not compatible with the package..... I extracted it into a
directory and ran make immediately afterwards, no editing of files.....
gcc -O2 -Wall -pipe -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wstrict-
prot
otypes -fomit-frame-pointer -fno-strength-reduce -c clm_dspdrv.c -o
clm_dspdrv.o
clm_dspdrv.c:182:5: warning: pasting "KERN_INFO" and ""RingState = %d\n""
does n
ot give a valid preprocessing token
clm_dspdrv.c:951:9: warning: pasting "KERN_INFO" and ""DSP Code Location :
Inter
nal ROM\n"" does not give a valid preprocessing token
clm_dspdrv.c:953:9: warning: pasting "KERN_INFO" and ""DSP Code Location :
Exter
nal SRAM\n"" does not give a valid preprocessing token
clm_dspdrv.c:1369:9: warning: pasting "KERN_INFO" and ""Not implemented
yet.\n""
does not give a valid preprocessing token
clm_dspdrv.c:1482:5: warning: pasting "KERN_INFO" and ""STATISTICS:\n"" does
not
give a valid preprocessing token
clm_dspdrv.c:1483:5: warning: pasting "KERN_INFO" and ""RX chars : %d\n""
does
not give a valid preprocessing token
clm_dspdrv.c:1484:5: warning: pasting "KERN_INFO" and ""TX chars : %d\n""
does
not give a valid preprocessing token
clm_dspdrv.c:1485:5: warning: pasting "KERN_INFO" and ""RX errors : %d ?\n""
doe
s not give a valid preprocessing token
clm_dspdrv.c:1583:17: warning: pasting "KERN_INFO" and ""New Call Progress :
%x\
n"" does not give a valid preprocessing token
gcc -O2 -Wall -pipe -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wstrict-
prot
otypes -fomit-frame-pointer -fno-strength-reduce -c clm_modem.c -o
clm_modem.o
clm_modem.c:51:5: warning: pasting "KERN_INFO" and ""CLM: Initializing
modem...\
n"" does not give a valid preprocessing token
clm_modem.c:77:5: warning: pasting "KERN_INFO" and ""CLM: Reseting
modem...\n""
does not give a valid preprocessing token
clm_modem.c:102:17: warning: pasting "KERN_INFO" and ""DIALTONE
Detected!\n"" do
es not give a valid preprocessing token
clm_modem.c:106:17: warning: pasting "KERN_INFO" and ""UNKNOWN Call
Progress: %d
\n"" does not give a valid preprocessing token
clm_modem.c:110:30: warning: pasting "KERN_INFO" and ""NO DIALTONE\n"" does
not
give a valid preprocessing token
clm_modem.c:141:13: warning: pasting "KERN_INFO" and ""Dialing %c...\n""
does no
t give a valid preprocessing token
clm_modem.c:152:13: warning: pasting "KERN_INFO" and ""Dialing Error\n""
does no
t give a valid preprocessing token
clm_modem.c:182:17: warning: pasting "KERN_INFO" and ""Remote MODEM
Answered!\n"
" does not give a valid preprocessing token
clm_modem.c:185:17: warning: pasting "KERN_INFO" and ""BUSY\n"" does not
give a
valid preprocessing token
clm_modem.c:189:17: warning: pasting "KERN_INFO" and ""UNKNOWN Call
Progress: %d
\n"" does not give a valid preprocessing token
clm_modem.c:211:17: warning: pasting "KERN_INFO" and ""MODEM is
Handshaking...\n
"" does not give a valid preprocessing token
clm_modem.c:214:21: warning: pasting "KERN_INFO" and ""Couldn't establish
V.34 c
onnection\n"" does not give a valid preprocessing token
clm_modem.c:221:17: warning: pasting "KERN_INFO" and ""MODEM Has
Connected!\n""
does not give a valid preprocessing token
clm_modem.c:228:17: warning: pasting "KERN_INFO" and ""Unknown Modem Status:
%#x
\n"" does not give a valid preprocessing token
clm_modem.c:235:9: warning: pasting "KERN_INFO" and ""Modem Mode: %s\n""
does no
t give a valid preprocessing token
clm_modem.c:237:9: warning: pasting "KERN_INFO" and ""Modem Baud TX: %d\n""
does
not give a valid preprocessing token
clm_modem.c:238:9: warning: pasting "KERN_INFO" and ""Modem Baud RX: %d\n""
does
not give a valid preprocessing token
clm_modem.c:249:9: warning: pasting "KERN_INFO" and ""NO CARRIER\n"" does
not gi
ve a valid preprocessing token
clm_modem.c:277:9: warning: pasting "KERN_INFO" and ""Connecting V.34 at
33600 b
ps...\n"" does not give a valid preprocessing token
clm_modem.c:288:9: warning: pasting "KERN_INFO" and ""NO ANSWER"" does not
give
a valid preprocessing token
clm_modem.c:299:5: warning: pasting "KERN_INFO" and ""CLM: Connection
Terminated
.\n"" does not give a valid preprocessing token
clm_modem.c:310:9: warning: pasting "KERN_INFO" and ""New Call Progress :
%x\n""
does not give a valid preprocessing token
clm_modem.c:315:13: warning: pasting "KERN_INFO" and ""Remote Modem
hangup.\n""
does not give a valid preprocessing token
clm_modem.c:318:13: warning: pasting "KERN_INFO" and ""Modem
Retraining???\n"" d
oes not give a valid preprocessing token
clm_modem.c:320:13: warning: pasting "KERN_INFO" and ""Modem is
Retraining\n"" d
oes not give a valid preprocessing token
clm_modem.c:323:13: warning: pasting "KERN_INFO" and ""New Modem Status:
%#x\n""
does not give a valid preprocessing token
clm_modem.c: In function `wait_for_dialtone':
clm_modem.c:89: warning: `cp' might be used uninitialized in this function
gcc -O2 -Wall -pipe -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wstrict-
prot
otypes -fomit-frame-pointer -fno-strength-reduce -c clmodem.c -o clmodem.o
clmodem.c:63:9: warning: pasting "KERN_INFO" and ""CL-MD5620DT modem
found.\n""
does not give a valid preprocessing token
clmodem.c:72:13: warning: pasting "KERN_INFO" and ""The configured IRQ is
wrong.
Should be %d\n"" does not give a valid preprocessing token
clmodem.c:76:13: warning: pasting "KERN_INFO" and ""The configured
BaseIOAddress
is wrong. Should be %#lx\n"" does not give a valid preprocessing token
clmodem.c:82:9: warning: pasting "KERN_INFO" and ""Couldn't find a
CL-MD5620DT m
odem\n"" does not give a valid preprocessing token
clmodem.c:142:9: warning: pasting "KERN_INFO" and ""CLM ERROR: clm_tty
doesn't m
atch!\n"" does not give a valid preprocessing token
clmodem.c: In function `setup_clm':
clmodem.c:75: structure has no member named `base_address'
clmodem.c:76: structure has no member named `base_address'
clmodem.c: In function `irq_handler':
clmodem.c:101: warning: missing braces around initializer
clmodem.c:101: warning: (near initialization for `rxtask.list')
clmodem.c:101: warning: initialization makes integer from pointer without a
cast
clmodem.c:102: warning: missing braces around initializer
clmodem.c:102: warning: (near initialization for `txtask.list')
clmodem.c:102: warning: initialization makes integer from pointer without a
cast
clmodem.c:505:5: warning: pasting "KERN_INFO" and ""CLModem v0.3.0\n"" does
not
give a valid preprocessing token
clmodem.c:506:5: warning: pasting "KERN_INFO" and "" Copyright (C) 2000
Mikhai
l Moreyra\n"" does not give a valid preprocessing token
clmodem.c:507:5: warning: pasting "KERN_INFO" and "" USE IT AT YOUR OWN
RISK!\n
"" does not give a valid preprocessing token
clmodem.c:510:9: warning: pasting "KERN_INFO" and ""CLM ERROR: I/O Ports
already
in use.\n"" does not give a valid preprocessing token
clmodem.c:518:9: warning: pasting "KERN_INFO" and ""ERROR: Couldn't get
IRQ\n""
does not give a valid preprocessing token
clmodem.c:560:9: warning: pasting "KERN_INFO" and ""Couldn't register CLM
tty dr
iver\n"" does not give a valid preprocessing token
clmodem.c:573:9: warning: pasting "KERN_INFO" and ""CLModem: failed to
unregiste
r CLM driver (%d)\n"" does not give a valid preprocessing token
clmodem.c:575:9: warning: pasting "KERN_INFO" and ""CLModem un-installed\n""
doe
s not give a valid preprocessing token
make: *** [clmodem.o] Error 1
-----Original Message-----
From: Jacques Goldberg [mailto:goldberg@phep2.technion.ac.il]
Sent: Wednesday, January 23, 2002 6:34 PM
To: Peter Santiago
Subject: RE: compile error CL-MD5620DT
Peter,
Please repeat exactly what I write below and then compare to what I
observe here, shown below. I use RedHat 6.2 and I do not have a modem like
yours. Do NOT edit any file; I know that the README file tells what to
edit. The problem though is to first understand what happens at
compilation. Your editing may have damaged something. Of course the
resulting module will almost certainly not work, but we just want to see
if it compiles.
1-create a new directory junk (easy to remember at cleanup)
2-copy CLModem-0.3.0.tar.gz to that directory
3-tar zxvf CLModem-0.3.0.tar.gz
4-cd CLModem-0.3.0
5-make
Here is what I see when I do that:
Script started on Wed Jan 23 12:10:14 2002
[goldberg@phep2]~/junk>date
Wed Jan 23 12:10:19 IST 2002
[goldberg@phep2]~/junk>ls
CLM CLModem-0.3.0.tar.gz
[goldberg@phep2]~/junk>tar zxvf CLModem-0.3.0.tar.gz
CLModem-0.3.0/
CLModem-0.3.0/LICENSE
CLModem-0.3.0/test.c
CLModem-0.3.0/clm_modem.c
CLModem-0.3.0/Makefile
CLModem-0.3.0/PPP
CLModem-0.3.0/clm_data.h
CLModem-0.3.0/clm_config.h
CLModem-0.3.0/clm_dspdrv.c
CLModem-0.3.0/clm_dspdrv.h
CLModem-0.3.0/ChangeLog
CLModem-0.3.0/clmodem.h
CLModem-0.3.0/README
CLModem-0.3.0/clmodem.c
CLModem-0.3.0/clm_modem.h
CLModem-0.3.0/chat-ppp0
[goldberg@phep2]~/junk>cd CLModem-0.3.0
[goldberg@phep2]~/junk/CLModem-0.3.0>ls
ChangeLog PPP clm_config.h clm_dspdrv.h clmodem.c
LICENSE README clm_data.h clm_modem.c clmodem.h
Makefile chat-ppp0 clm_dspdrv.c clm_modem.h test.c
[goldberg@phep2]~/junk/CLModem-0.3.0>make
gcc -O2 -Wall -pipe -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wstrict-
prototypes -fomit-frame-pointer -fno-strength-reduce -c clm_dspdrv.c -o
clm_dspdrv.o
gcc -O2 -Wall -pipe -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wstrict-
prototypes -fomit-frame-pointer -fno-strength-reduce -c clm_modem.c -o
clm_modem.o
gcc -O2 -Wall -pipe -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wstrict-
prototypes -fomit-frame-pointer -fno-strength-reduce -c clmodem.c -o
clmodem.o
ld -m elf_i386 -r -o clm.o clm_dspdrv.o clm_modem.o clmodem.o
[goldberg@phep2]~/junk/CLModem-0.3.0>exit
Script done on Wed Jan 23 12:11:13 2002
Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003