[pkg-nvidia-devel] Bug#476504: does not build, even with suggested patch , newer patch
A Mennucc1
debdev at mennucci.sns.it
Sun May 4 10:14:31 UTC 2008
hi
I tried to build the nvidia 169.12-1 module on my amd64 system with
kernel 2.6.25-1 ; I applied the patch found at
http://www.nvnews.net/vbulletin/attachment.php?s=41498f047cfc027419df58a2559e9a7f&attachmentid=30771&d=1205875946
and then tried to compile using
$ m-a -O -t b-i nvidia
but it failed in a strange way, reporting
vvvvvvvvvvvvv
LD [M] /usr/src/modules/nvidia-kernel/nv/nvidia.o
Building modules, stage 2.
MODPOST 1 modules
scripts/mod/modpost: invalid option -- S
make[4]: *** [__modpost] Error 1
^^^^^^^^^^^^^
the above is strange; it is as if the KBUILD system is passing two
options '-c -S' to 'modpost', but these options are no more recognized.
For a quick and dirty fix, I patched
/lib/modules/2.6.25-1-amd64/build/scripts/Makefie.modpost
as in attachment, and I could then compile the module.
a.
--
Andrea Mennucc
"E' un mondo difficile. Che vita intensa!" (Tonino Carotone)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modpost.diff
Type: text/x-diff
Size: 772 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20080504/3b6d2a13/attachment-0001.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20080504/3b6d2a13/attachment-0001.pgp
More information about the Pkg-nvidia-devel
mailing list