plustek: unresolved symbols
Subject:
Re: Unresolved symbols
From:
Zoltan Kovacs ####@####.####
Date:
11 Jul 2002 07:50:56 -0000
Message-Id: <Pine.SOL.4.10.10207110834310.5406-100000@sun31>
On Wed, 10 Jul 2002, Jaeger, Gerhard wrote:
> Hi,
>
> the answer is the same, even if you have installed the original
> kernel (what ever this means), it is possible, that the configuration
> is wrong. i.e. SuSE provides three files which can be found in
> /boot:
> vmlinuz_24.autoconf.h
> vmlinuz_24.config
> vmlinuz_24.version.h
> They have used these config file to build the kernel and these
> files are needed (and of course the other headers) to build a driver,
> that fits the kernel.
>
> Gerhard
>
> -------------------------
> gerhard AT gjaeger DOT de
>
> On Tuesday, 9. July 2002 18:19, Zoltan Kovacs wrote:
> > Hello,
> >
> > I think I have a well known problem: during the installation I got the
> > error message:
> >
> > depmod: *** Unresolved symbols in /lib/modules/2.4.2-2/misc/pt_drv.o
> >
> > When I check the unresolved symbols I see:
> >
> > depmod: add_timer_Rsmp_a19eacf8
> > depmod: del_timer_Rsmp_fc62f16d
> > depmod: create_proc_entry_Rsmp_b5e3694a
> > depmod: __generic_copy_to_user_Rsmp_d523fdd3
> > depmod: parport_claim_Rsmp_dc843753
> > depmod: parport_register_device_Rsmp_75a20b73
> > depmod: unregister_chrdev_Rsmp_c192d491
> > depmod: proc_root_Rsmp_1fb67437
> > depmod: __vmalloc_Rsmp_79995c5b
> > depmod: parport_unregister_device_Rsmp_0cffd5b6
> > depmod: sprintf_Rsmp_1d26aa98
> > depmod: parport_release_Rsmp_e2338255
> > depmod: printk_Rsmp_1b7d4074
> > depmod: kfree_Rsmp_037a0cba
> > depmod: vfree_Rsmp_2fd1d81c
> > depmod: remove_proc_entry_Rsmp_dd4655a7
> > depmod: kmalloc_Rsmp_93d4cfe6
> > depmod: parport_enumerate_Rsmp_b88956ae
> > depmod: schedule_Rsmp_4292364c
> > depmod: __const_udelay_Rsmp_eae3dfd6
> > depmod: register_chrdev_Rsmp_fd911478
> > depmod: __udelay_Rsmp_9e7d6bd0
> > depmod: proc_mkdir_Rsmp_5d29064b
> > depmod: __generic_copy_from_user_Rsmp_116166aa
> > depmod: jiffies_Rsmp_0da02d67
> > depmod: do_gettimeofday_Rsmp_72270e35
> > message
> >
> > Formerly I've found a guy with the same problem in the mailing list but
> > the answer to him was
> >
> > "This looks to me, as your kernel-configuration
> > does not match the really installed and unsed kernel!
> >
> > You might recompile and install the kernel, and then recompile the
> > driver".
> >
> > OK. But I use the originally installed kernel and I didn't change
> > configuration. Then could you any idea what's wrong?
> > Any help you can offer would be appreciated!
> >
> > Zoltan Kovacs
> >
>
Hy Gerhard,
Thanks for your help. But I have a 7.2 and none of the files you mentioned
can be found in the /boot directory. Thus I copied 'autoconf.h' and
'version.h' from /usr/include/linux to /usr/src/linux/include/linux. Well,
the RedHat versions are really different from the original ones. The only
problem is that I cannot find 'something.config' in /boot directory and I
don't know where is the Linux config file which the program 'make' uses to
compile pt_drv.o.
During the compilation I see some warning messages "linux/malloc.h is
deprecated, use linux/slab.h instead" but pt_drv.o is created. Anyway,
the installation is still unsuccesful. The problem is the same:
Unresolved symbols. The symbols are also the same as formerly.
Do you think the problem is a wrong config file?
regards
Zoltan