jiayaocang

ca2.7 module's build problem

Discussion created by jiayaocang on Apr 5, 2008
Latest reply on Apr 25, 2008 by suravee
the machine os infos are
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Release: 4
Codename: NahantUpdate4

CodeAnalyst-Linux-2.7.68/src/oprofile/module/package/
./mod_install.sh

get a module CodeAnalyst-Linux-2.7.68/src/oprofile/module/package/rhel4u4/oprofile.ko

but
# /sbin/insmod /CodeAnalyst-Linux-2.7.68/src/oprofile/module/package/rhel4u4/oprofile.ko

insmod: error inserting /CodeAnalyst-Linux-2.7.68/src/oprofile/module/package/rhel4u4/oprofile.ko': -1 Unknown symbol in module

and dmesg
oprofile: module license 'unspecified' taints kernel.
oprofile: Unknown symbol profile_event_register
oprofile: Unknown symbol get_dcookie
oprofile: Unknown symbol task_handoff_register
oprofile: Unknown symbol sysdev_register
oprofile: Unknown symbol sysdev_class_unregister
oprofile: Unknown symbol get_task_mm
oprofile: Unknown symbol unregister_profile_notifier
oprofile: Unknown symbol mmput
oprofile: Unknown symbol sysdev_class_register
oprofile: Unknown symbol register_profile_notifier
oprofile: Unknown symbol unset_nmi_callback
oprofile: Unknown symbol set_nmi_callback
oprofile: Unknown symbol dcookie_register
oprofile: Unknown symbol profile_event_unregister
oprofile: Unknown symbol task_handoff_unregister
oprofile: Unknown symbol sysdev_unregister
oprofile: Unknown symbol dcookie_unregister

and /proc/kallsyms have items about these symbols
why so much Unkown sysmbos?

Outcomes