View Single Post
Old 10-04-02, 04:00 PM   #1
cool_nm
Registered User
 
Join Date: Oct 2002
Location: India
Posts: 7
Exclamation Redhat 7.3 + Geforce 2MX -> unresolved symbol even if recompilation with SYSINCLUDE

hi,
I have a P2-400 with a Hercules 3D Prophet, GeForce2 MX PCI. I have Redhat Linux 7.3. I

downloaded NVchooser.sh and it told me to download
NVIDIA_kernel-1.0-3123.src.rpm
NVIDIA_GLX-1.0-3123.i386.rpm

I downloaded the 2 files and followed the instructions from README
After i installed the SRPM the script i generated was as:

-------------------------------------------------------------------------------------------------
Script started on Sat Oct 5 12:44:18 2002
[root@localhost root]# rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm
Installing NVIDIA_kernel-1.0-3123.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2335
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-3123
+ /bin/gzip -dc /usr/src/redhat/SOURCES/NVIDIA_kernel-1.0-3123.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-3123
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.23514
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.0.4
++ echo 4.0.4
++ awk -F . '{print $1;}'
+ RPMMAJOR=4
++ echo 4.0.4
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 4.0.4
++ awk -F . '{print $3;}'
+ RPMPATCH=4
+ '[' 4 -le 3 -a 0 -le 0 -a 4 -lt 4 ']'
+ make NVdriver
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses

-Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES

-DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE

-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX

-DNVCPU_X86 -I. -I/lib/modules/2.4.18-3/build/include -Wno-cast-qual nv.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses

-Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES

-DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE

-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX

-DNVCPU_X86 -I. -I/lib/modules/2.4.18-3/build/include -Wno-cast-qual os-interface.c
os-interface.c:958: warning: `wb_list' defined but not used
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses

-Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES

-DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE

-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX

-DNVCPU_X86 -I. -I/lib/modules/2.4.18-3/build/include -Wno-cast-qual os-registry.c
ld -r -o Module-linux nv.o os-interface.o os-registry.o
ld -r -o NVdriver Module-linux Module-nvkernel
size NVdriver
text data bss dec hex filename
894242 55476 52396 1002114 f4a82 NVdriver
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.94876
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.18-3
+ TARGET_KERNEL=2.4.18-3
+ '[' -d /lib/modules/2.4.18-3/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.18-3/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-3/kernel/drivers/video
+ install -m 0444 NVdriver /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-3/kernel/drivers/video
+ echo '%attr(444 root root) ' /lib/modules/2.4.18-3/kernel/drivers/video/NVdriver
+ unset RPM_BUILD_ROOT
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: NVIDIA_kernel-1.0-3123
Finding Provides: (using /usr/lib/rpm/find-provides)...
Finding Requires: (using /usr/lib/rpm/find-requires)...
PreReq: /bin/sh /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1

rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires: kernel >= 2.2.0 rpm >= 3.0.4
Wrote: /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-3123.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.76199
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-3123
+ '[' -n /var/tmp/NVIDIA_kernel-1.0 -a /var/tmp/NVIDIA_kernel-1.0 '!=' / ']'
+ rm -rf /var/tmp/NVIDIA_kernel-1.0
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.76199
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf NVIDIA_kernel-1.0-3123
+ exit 0
[root@localhost root]#
Script done on Sat Oct 5 12:44:57 2002
-------------------------------------------------------------------------------------------------


Then i executed the foll. and got unresolved symbols

-------------------------------------------------------------------------------------------------
Script started on Sat Oct 5 12:45:44 2002
[root@localhost root]#
[root@localhost root]# rpm -ivh /usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-3123.i386.rpm
Preparing...###################################### #####[100%]
1:NVIDIA_kernel ########################################### [100%]
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/kernel/drivers/video/NVdriver
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__get_free_pages_Rsmp_4784e424
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol free_irq_Rsmp_f20dabd8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

remove_proc_entry_Rsmp_18199406
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

strncpy_from_user_Rsmp_24428be5
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_read_config_byte_Rsmp_bf8abee6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol securebits_Rsmp_abe77484
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_find_class_Rsmp_571e0e87
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_find_slot_Rsmp_b5bca257
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_write_config_dword_Rsmp_7038e9e8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol proc_root_Rsmp_c79b35f0
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__global_restore_flags_Rsmp_54dd1dcb
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

register_chrdev_Rsmp_10735b95
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

create_proc_entry_Rsmp_9cfe096c
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol iounmap_Rsmp_5fb196d4
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

inter_module_get_request_Rsmp_b69f826b
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__generic_copy_to_user_Rsmp_d523fdd3
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_read_config_word_Rsmp_46710516
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

unregister_chrdev_Rsmp_c192d491
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __vmalloc_Rsmp_79995c5b
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __global_cli_Rsmp_64576b05
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol sprintf_Rsmp_1d26aa98
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

schedule_timeout_Rsmp_17d59d01
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __ioremap_Rsmp_9eac042a
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol pm_register_Rsmp_027ebe5e
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __wake_up_Rsmp_127fda83
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol printk_Rsmp_1b7d4074
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol kfree_Rsmp_037a0cba
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol tq_immediate_Rsmp_0da0dcd1
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol irq_stat_Rsmp_9cd52f3f
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

inter_module_get_Rsmp_f6a0ce24
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_find_device_Rsmp_9940401b
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_write_config_word_Rsmp_ccd6e453
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

remap_page_range_Rsmp_69d01e73
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__global_save_flags_Rsmp_5d902e96
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol tqueue_lock_Rsmp_b7a0c0b5
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol vsprintf_Rsmp_954cbb26
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol free_pages_Rsmp_9941ccb8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol kill_proc_Rsmp_932da67e
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol vfree_Rsmp_2fd1d81c
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

inter_module_put_Rsmp_6b99f7d8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol mem_map_Rsmp_ed75ce01
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol init_mm_Rsmp_dcc04067
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol kmalloc_Rsmp_93d4cfe6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__const_udelay_Rsmp_eae3dfd6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_write_config_byte_Rsmp_1a23c1e6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __udelay_Rsmp_9e7d6bd0
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pm_unregister_Rsmp_94097bd6
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol high_memory_Rsmp_8a7d1c31
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

proc_root_driver_Rsmp_9d2c053d
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__generic_copy_from_user_Rsmp_116166aa
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol request_irq_Rsmp_0c60f2e0
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol bh_task_vec_Rsmp_284177b8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

pci_read_config_dword_Rsmp_640451c8
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

do_gettimeofday_Rsmp_72270e35
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol

__tasklet_hi_schedule_Rsmp_60ea5fe7
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol __pollwait_Rsmp_4c541ea9
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: insmod

/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver failed
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: insmod NVdriver failed

NVdriver installed successfully

[root@localhost root]#
Script done on Sat Oct 5 12:49:15 2002
-------------------------------------------------------------------------------------------------

I think the installing the GLX part is useless after the above erros. But still I did execute the

foll. command

-------------------------------------------------------------------------------------------------
Script started on Sat Oct 5 12:50:23 2002
[root@localhost root]# rpm -ivh NVIDIA_GLX-1.0-3123.i386.rpm
Preparing... ########################################### [100%]
--- WARNING!!
libglx.a
libGLcore.a
libGL.so.1.0.3123;3d9b6f6f
libGL.a
libGL.so.1.2
--- The above file(s) possibly belong to a conflicting MESA rpm,
--- or to a previous stale NVIDIA distribution.
--- They have been renamed to xxx.<originalFile>.RPMSAVE to
--- avoid conflicting with the files contained within this
--- package.
--- Please see the FREQUENTLY ASKED QUESTIONS section of
--- /usr/share/doc/NVIDIA_GLX-1.0/README for more details.
1:NVIDIA_GLX ########################################### [100%]
[root@localhost root]#
Script done on Sat Oct 5 12:54:09 2002
-------------------------------------------------------------------------------------------------


What sould I do ?

I tried recompilig using the tar file but with no luck. I even specified the SYSINCLUDE param.

but still the same error came.

Please help.

-Neeraj.
cool_nm is offline   Reply With Quote