[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] undefined __down_interruptible and __up
John,
I tried that. Upon insmod, I still see warning of:
Unknown symbol __up
Unknown symbol __down_interruptible
And so insmod fails.
The strange thing is in /proc/kallsyms, I can see the symbol of:
24xxxxxx T __down_interruptible
24xxxxxx T __up
Is the dynamic linking failing here?
Rgds,
Victor Yeo
-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams
Sent: Wednesday, February 27, 2008 11:18 AM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] undefined __down_interruptible and __up
Hi Viictor,
victor-sv_yeo@xxxxxxxxxxx wrote:
> I have a device driver, I compiled the driver on petalinux-v0.30-rc1.
> The device driver declares a semaphore using:
>
> MODPOST 1 modules
>
> WARNING: "__up" [....../scull.ko] undefined!
>
> WARNING: "__down_interruptible" [....../scull.ko] undefined!
Can you please add
EXPORT_SYMBOL(__down_interruptible);
EXPORT_SYMBOL(__up);
to linux-2.6.x/arch/microblaze/kernel/semaphore.c
and report if it solves the problem?
Thanks,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/