[Prism54-devel] [Bug 115] New: gcc 2.95.4 has problems with
#ifdefsin islpci_eth.c
Sergio Ammirata
ammirata at econointl.com
Mon Nov 15 12:55:14 UTC 2004
This is the same problem I reported in this list yesterday. The patch to fix
it is there as well.
Sergio
-----Original Message-----
From: prism54-devel-bounces at prism54.org
[mailto:prism54-devel-bounces at prism54.org] On Behalf Of
bugzilla-daemon at mcgrof.com
Sent: Monday, November 15, 2004 1:03 AM
To: prism54-devel at prism54.org
Subject: [Prism54-devel] [Bug 115] New: gcc 2.95.4 has problems with
#ifdefsin islpci_eth.c
http://prism54.org/cgi-bin/bugzilla/show_bug.cgi?id=115
Summary: gcc 2.95.4 has problems with #ifdefs in islpci_eth.c
Product: prim54
Version: 1.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Kernel patches
AssignedTo: prism54-devel at prism54.org
ReportedBy: ejones at uwaterloo.ca
I used the latest CVS version and patched Linux 2.4.27. I'm using Debian
stable
to compile. Here is the output from GCC:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe
-mpreferred-stack-boundary=2 -march=i486 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.27/include/linux/modversions.h -DPRISM54_COMPAT24
-nostdinc
-iwithprefix
include -DKBUILD_BASENAME=islpci_eth -c -o islpci_eth.o islpci_eth.c
islpci_eth.c:138: warning: preprocessing directive not recognized within
macro arg
islpci_eth.c:138: warning: preprocessing directive not recognized within
macro arg
islpci_eth.c:138: warning: preprocessing directive not recognized within
macro arg
islpci_eth.c:138: warning: preprocessing directive not recognized within
macro arg
islpci_eth.c: In function `islpci_eth_transmit':
islpci_eth.c:135: undefined or invalid # directive
islpci_eth.c:137: undefined or invalid # directive
make[5]: *** [islpci_eth.o] Error 1
It looks like GCC doesn't like something with the #ifdef and the brackets.
Debian stable is using gcc 2.95.4. I deleted the #ifdefs and the stuff
between
them and it compiled.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Prism54-devel mailing list
Prism54-devel at prism54.org
http://prism54.org/mailman/listinfo/prism54-devel
More information about the Prism54-devel
mailing list