[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


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


and then tried to compile using 
$ m-a -O -t b-i nvidia

but it failed in a strange way, reporting 
  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
as in attachment, and I could then compile the module.


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