* attempts to use PC quickcam & insmod on Dec UDB
[not found] <m0vBpxF-001UygC@goonsquad.spies.com>
@ 1996-10-12 0:39 ` Dave Mitchell
0 siblings, 0 replies; only message in thread
From: Dave Mitchell @ 1996-10-12 0:39 UTC (permalink / raw)
On Fri, 11 Oct 1996, Eric Smith wrote:
> > Maybe now I'll have another go-round with it and see if I can't get
> > the shit working..
>
> With 3.0.3/AXP, the stock insmod is broken and dumps core. Do an
> "rpm -qf /usr/include/bfd.h" and make sure it is from binutils. On my system
> rpm reported that it came from two different packages, and it didn't match
> the one from binutils. And the official RPM for modules seems to be built
> with the wrong one. I ended up removing and reinstalling binutils, and I
> had to use -force or the like to install it. Then rebuild the modules
> package from the source RPM.
>
> Some people have claimed that modules worked for them without this hassle,
> but I don't understand how that is possible.
>
> Cheers,
> Eric
>
My query reported just binutils like it should, but attempting to
build the source rpm "modules-2.0.0-4.src.rpm" gave me the error "
[root@wrong qcam]# rpm --rebuild modules-2.0.0-4.src.rpm
Installing modules-2.0.0-4.src.rpm
Arch mismatch!
///usr/src/redhat/SPECS/modules-2.0.0.spec doesn't build on this architecture
Then I went to the /usr/src/redhat/SOURCES/modules-2.0.0.tar.gz,
unpacked it and attempted to build -that-. insmod failed with lots
more pages of errors, but depmod and modprobe both compiled, and both
fail when you try to use them, like this:
[davem@wrong depmod]$ depmod ~/src/qcam/quickcam.o Can't allocate
599296096 bytes of memory
So, at that, I grabbed modules-1.2.8 (from redhat-3.0.3), it built
fine (the bfd-insmod) (albeit a couple of pointer size warnings) but when
I actually attempt to insert my quickcam module I get scads of errors
like these:
quickcam.o: In function `qcam_lseek':
module.c(.text+0x0): relocation truncated to fit: GPDISP *ABS*+4
module.c(.text+0x28): relocation truncated to fit: LITERAL qc
module.c(.text+0x3c): relocation truncated to fit: LITERAL $C34
module.c(.text+0x48): undefined reference to `printk'
module.c(.text+0x4c): undefined reference to `printk'
module.c(.text+0x50): relocation truncated to fit: GPDISP *ABS*+4
....(pages deleted)......
uni6bit.c(.text+0x25f4): undefined reference to `_outb'
uni6bit.c(.text+0x25f8): undefined reference to `_outb'
uni6bit.c(.text+0x25fc): relocation truncated to fit: GPDISP *ABS*+4
uni6bit.c(.text+0x2610): relocation truncated to fit: LITERAL $C33
uni6bit.c(.text+0x2614): undefined reference to `printk'
uni6bit.c(.text+0x2618): undefined reference to `printk'
uni6bit.c(.text+0x261c): relocation truncated to fit: GPDISP *ABS*+4
/usr/tmp/quickcam657: No such file or directory
This is the point at which my cork pops and I have to hand the ball
back to someone with more experience with this... (anyone??)
Dave Mitchell
davem@magnet.com
ps - tcsh also doesn't seem to have a history anymore. HISTORY is set
to 1000, but when I hit the up arrow, I get only beeps. (works fine in
bash though)
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-10-12 0:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <m0vBpxF-001UygC@goonsquad.spies.com>
1996-10-12 0:39 ` attempts to use PC quickcam & insmod on Dec UDB Dave Mitchell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox