[Slackbuilds-users] Error while creating nvidia-legacy340-driver package on -current

Luís Fernando Carvalho Cavalheiro pessoal at profcavalheiro.com
Sat Mar 12 23:42:39 UTC 2016


Dear friend

Looks like I found by myself how to solve this issue. Reading nvidia-legacy340-driver.SlackBuild script, I found a commentary that stated nvidia-installer isn't needed by this SlackBuild. So, I commented out all lines related to nvidia-installer building and lo!, it worked! I'm sending to you a .patch file to apply to nvidia-legacy340-driver.SlackBuild file.

Em 12 de 03 de 2016 às 20:20:32T-0300, Luís Fernando Carvalho Cavalheiro <pessoal at profcavalheiro.com> escreveu:

> Dear friends
> 
> I'm using sbopkg on -master branch to create nvidia-legacy340-driver package on a Slack64 multilib current computer. After kernel upgrade from March 10th I got this error while trying to create that package:
> 
> /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../lib64/libpci.a(names-hwdb.o): In function `pci_id_hwdb_lookup':
> names-hwdb.c:(.text+0xb4): undefined reference to `udev_hwdb_get_properties_list_entry'
> names-hwdb.c:(.text+0xc9): undefined reference to `udev_list_entry_get_next'
> names-hwdb.c:(.text+0xd9): undefined reference to `udev_list_entry_get_name'
> names-hwdb.c:(.text+0xf0): undefined reference to `udev_list_entry_get_value'
> names-hwdb.c:(.text+0x214): undefined reference to `udev_new'
> names-hwdb.c:(.text+0x221): undefined reference to `udev_hwdb_new'
> /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../lib64/libpci.a(names-hwdb.o): In function `pci_id_hwdb_free':
> names-hwdb.c:(.text+0x24e): undefined reference to `udev_hwdb_unref'
> names-hwdb.c:(.text+0x264): undefined reference to `udev_unref'
> collect2: error: ld returned 1 exit status
> Makefile:214: recipe for target '_out/Linux_x86_64/nvidia-installer' failed
> make: *** [_out/Linux_x86_64/nvidia-installer] Error 1
> 
> I'm using default SlackBuild files from -master branch. Until this kernel upgrade I was able to create this package with any problem. Any idea of why am I getting this errors?
> 
> -- 
> 93 93/93
> Luís Fernando Carvalho Cavalheiro


-- 
93 93/93
Luís Fernando Carvalho Cavalheiro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-legacy340-driver.SlackBuild.patch
Type: text/x-patch
Size: 1388 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160312/add6bcd1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Assinatura digital OpenPGP
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160312/add6bcd1/attachment-0001.asc>


More information about the SlackBuilds-users mailing list