media-video/nvidia-kernel-1.0.8174-r1 and sys-devel/gcc-4.1.0_beta20051223 nvidia module fails to load because of unresolved system errors: nvidia: Unknown symbol remap_page_range nvidia: Unknown symbol pci_find_class The solution is described in ttp://www.nvnews.net/vbulletin/showthread.php?t=61874 and fixes the problem. Please add this patch: diff -ru usr/src/nv/conftest.sh usr/src/nv.1438624/conftest.sh --- usr/src/nv/conftest.sh 2005-11-23 03:22:31.000000000 +0100 +++ usr/src/nv.1438624/conftest.sh 2005-12-20 15:43:27.287128500 +0100 @@ -25,6 +25,13 @@ -nostdinc -isystem $ISYSTEM \ -Werror -Wimplicit-function-declaration" +touch conftest$$.c +$CC -Wno-attributes -c conftest$$.c > /dev/null 2>&1 +if [ $? -eq 0 ]; then + CFLAGS="$CFLAGS -Wno-attributes" +fi +rm -f conftest$$.* + if [ "$OUTPUT" != "$SOURCES" ]; then CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \ -I$HEADERS -I$HEADERS/asm/mach-default"
*** This bug has been marked as a duplicate of 114725 ***