If I try to run any tk GUI application, the fonts do not appear clearly.
What am I missing?

Thanks,

Samy Rengasamy.

-----Original Message-----
From: saparnis, carol [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 27, 2001 11:16 AM
To: [EMAIL PROTECTED]
Subject: Re: Help, copy_from_user_asm is unresolved...


Hi!

Thank you! Thank you! Thank you!

That was it! I am compiling outside the normal build process.  __KERNEL__,
__SMP__, and __MODULE__ are defined in my source, so my compile statement
looks like:  gcc -Wall -I/usr/include -O2 -c tstioctl.c

Are there other parameters that I should be including?


Thanks again,
Carol

-----Original Message-----
From: Ulrich Weigand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 27, 2001 12:00 PM
To: saparnis, carol
Cc: [EMAIL PROTECTED]
Subject: Re: Help, copy_from_user_asm is unresolved...


Carol Saparnis wrote:

>I think I am doing something wrong, but I'm not sure what.  I'm am trying
to
>write a very simple IOCTL module using kernel version 2.4.5 from
TurboLinux.
>I have included uaccess.h and I call the module copy_from_user.  The module
>compiles correctly, but when I do an insmod on it I get an "unresolved
>symbol __copy_from_user_asm" message.  I think, since it's really
>copy_from_user in uaccess.h that calls __copy_from_user_asm, that the right
>header file is being included, but I'm confused because that is the same
>header file that defines __copy_from_user_asm.  What do I need to do to
>resolve that symbol?

Are you using the proper compile options?  If you compile a module
outside of the regular kernel build process, you need to make sure
you use the correct compiler command line.  In particular, your symptom
might indicate that you are not using the -O2 compiler option, and
therefore __copy_from_user_asm is not inlined as it is supposed to ...

Bye,
Ulrich

--
  Dr. Ulrich Weigand
  [EMAIL PROTECTED]

Reply via email to