Linmodems Mailing list Archives
Return-Path: <mborgnia@nih.gov>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 10897 invoked from network); 2 Oct 2002 21:24:00 -0000
Received: from kafka.net.nih.gov (165.112.130.10)
by www.linmodems.org with SMTP; 2 Oct 2002 21:24:00 -0000
Received: from diogenes.nci.nih.gov (diogenes.nci.nih.gov [128.231.141.245])
by kafka.net.nih.gov (/8.10.1) with ESMTP id g92LNw4V022319
for <discuss@linmodems.org>; Wed, 2 Oct 2002 17:23:58 -0400 (EDT)
Subject: RedHat 8.0, gcc3.2 fails to compile. Any suggestions?
From: "Mario J. Borgnia" <mborgnia@nih.gov>
To: linmodems <discuss@linmodems.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10)
Date: 02 Oct 2002 17:21:53 -0400
Message-Id: <1033593713.14597.16.camel@diogenes.nci.nih.gov>
Mime-Version: 1.0
Hi there,
I thought I had it managed, recompiling for each kernel update. Now, I upgraded to Redhat 8.0 and this is the result:
pctel-0.9.4 will not compile properly, the only warning is
<command line>:1:13: multi-line string literals are deprecated
Any ideas?
Thanks
Mario
log follows:
[mborgnia@ pctel-0.9.4]$ ./configure --with-hal=pct789
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_PCT789
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
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... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for /usr/src/linux/include/linux/modversions.h... yes
checking for Linux kernel version >= 2.4.0... yes
checking for Linux kernel version >= 2.4.7... yes
checking for mknod... mknod
checking for chgrp... chgrp
checking for chmod... chmod
checking for depmod... no
checking for rmmod... no
checking for lsmod... no
checking for modprobe... no
checking for objdump... objdump
checking for objcopy... objcopy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/module/Makefile
config.status: creating src/ptserial/Makefile
config.status: creating misc/Makefile
config.status: creating misc/pctel.spec
config.status: creating misc/SlackBuild
config.status: creating misc/build_rpms.sh
config.status: creating m4/Makefile
[mborgnia@ pctel-0.9.4]$ make
Making all in src
make[1]: Entering directory `/home/mborgnia/download/casa/pctel-0.9.4/src'
Making all in module
make[2]: Entering directory `/home/mborgnia/download/casa/pctel-0.9.4/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE=\"pctel\"
-DVERSION=\"0.9.4\" -c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o
../../lib/pct789/dsp.a ../../lib/pct789/pcthal.a
make[2]: Leaving directory `/home/mborgnia/download/casa/pctel-0.9.4/src/module'Making all in ptserial
make[2]: Entering directory `/home/mborgnia/download/casa/pctel-0.9.4/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
ln -s -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make[3]: Entering directory `/home/mborgnia/download/casa/pctel-0.9.4/src/ptserial'
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version`\"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE=\"pctel\" -DVERSION=\"0.9.4\" -c -o ptserial.o ptserial.c
<command line>:1:13: multi-line string literals are deprecated
make[3]: *** [ptserial.o] Error 1
make[3]: Leaving directory `/home/mborgnia/download/casa/pctel-0.9.4/src/ptserial'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mborgnia/download/casa/pctel-0.9.4/src/ptserial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mborgnia/download/casa/pctel-0.9.4/src'
make: *** [all-recursive] Error 1
--
+---------------------------------+
| Mario J. Borgnia, Ph. D. |
| |
| Lab of Cell Biology |
| NIH NCI/CCR |
| 50 South Drive Rm 4306 MSC 8008 |
| Bethesda MD 20892-8008 |
| |
| Tel: (301) 594 0563 |
| mborgnia@nih.gov |
+---------------------------------+
..."We can bomb the world to pieces
but we can't bomb it into peace"...
-- Michael Franti
Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003