[tulip] Can't compile tulip.o
kynn@panix.com
kynn@panix.com
Sat Nov 3 19:14:01 2001
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--0-1018811650-1004832801=:14281
Content-Type: TEXT/PLAIN; charset=US-ASCII
[ The original version of this post was too big; I've included two parts
as compressed attachments. ]
OK, since I couldn't install the tulip module that is already present
in my Linux distribution (2.2.18pre21 Debian), I tried compiling a
fresh copy of tulip.o. I downloaded tulip.c, pci-scan.c, pci-scan.h,
and kern_compat.h from http://www.scyld.com. I tried compiling tulip
using the compile line given at the end of tulip.c, and got this
result:
# gcc -DMODULE -Wstrict-prototypes -O6 -c tulip.c
tulip.c:140: linux/modversions.h: No such file or directory
In file included from tulip.c:163:
kern_compat.h:42: linux/modversions.h: No such file or directory
Folowing the advice in one of the troubleshooting pages for tulip, I
removed the -DMODULE flag from the compilation line, and attempted
another compile command, but this resulted in a huge mountain of error
messages, and no tulip.o (these errors are included in the attachment
compilation_errors_1.gz).
In a desperate move, I downloaded the Debian directories
kernel-source-2.2.18pre21
kernel-headers-2.2.18pre21-sparc
The first one did not contain modversions.h. The second one does
contain modversions.h, but the "sparc" designation suggests that it's
all wrong for my machine (an old Pentium). Anyway, I tried
# gcc -DMODULE -I/usr/src/kernel-headers-2.2.18pre21-sparc/include/ -Wstrict-prototypes -O6 -c tulip.c
and, sure enough, I got another (smaller) mountain of error messages
(contained in the attachment compilation_errors_2.gz), and no tulip.o.
I have little experience with Linux installations, particularly
drivers, but I've compiled a lot of C programs, and these error
messages look pretty serious to me.
I've run out of ideas. What must I do to compile tulip.o?
Thanks!
KJ
--0-1018811650-1004832801=:14281
Content-Type: APPLICATION/octet-stream; name="compilation_errors_1.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.40.0111031913210.14281@panix3.panix.com>
Content-Description: Errors of first compilation
Content-Disposition: attachment; filename="compilation_errors_1.gz"
H4sICDSA5DsAA2NvbX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PCEn8c6tY
5Nwi+rQOwleJQXSxRuJiLXYsoMVe1UXNcRqcqGxKkBbAgoGGkkry5SOWMTgi
hR4LR3/FGNwdkol1dzdZGm3biZRIBmEixbKuiTWI1W6+CzWWEXt2LRl6tsiF
3lBXcTPJX2XAIkwevkmWrotlO1wlG7D+DPE+DbizVQqUdYWCUH98uN64J1Tv
AtETqt8+7AnVb/u1hJZGAXo3h9fUUrDJdl9zNm4nHYq70QfqUcybpEy2ZzO6
hbHCynU/nJWhMFEGGeGDyNn/UuPnr0n9UjR1V7r9C7+hfu16vwhefRGcKXlL
k9eMZH4YMFvihxUJ+D38TYX3Z2xgobwV0JFJT6eaI+jIoNeizpOwWj1yUkfk
LWnrAvYWWL8y6Aib/atsvT43cdymrMcmQXWQlSqFBbKPTHm1DspvwE3J59aC
Ny/oLswGSX3dXEyJ7b2KX75aFG/DUl3XcIuXOSVFty/I5eZeqY4tTzX3ty59
ybShL36dPvtZtpyOOZ2+5Vv3/ZJ5MhIOtL3pdRxUQS5jQb8xi4gFSmq/PEXJ
hU8/J3L0zw2WQNp74QLIVXHQzxoq3174S6if+wsmZyeX27v2Cs9b0Dc17hvD
vObF16v2ekAxr6NkaijWdZRQBcW5itL19ZUg9E2wr40l9hkNkUMMJ+X80dgL
lPb28xzj/62q5b69+AAA
--0-1018811650-1004832801=:14281
Content-Type: APPLICATION/octet-stream; name="compilation_errors_2.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.40.0111031913211.14281@panix3.panix.com>
Content-Description: Errors of second compilation
Content-Disposition: attachment; filename="compilation_errors_2.gz"
H4sICD2A5DsAA2NvbXBpbGF0aW9uX2Vycm9yc18yAO2bQXPaPBCG7/kVunH5
AsgGDNy+Q6aTQ3tpT70YxRZYEyF7JDlp/n1lkhjTCVtPWMkzHTJcYmAfW3rf
lVYS94psheREqEzWOc/JVpd7MqmNnhidTR65VlzeFpzlXJvbaByN6bLSPKK3
pmLuA2/fm0ih6l8Ttt2a1L3EuFjP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