Re: tk GUI Applications

2001-12-28 Thread Rengasamy, Samy

Thanks for your help, Mark.
The problem actually was with the window manager I was using.
When I used the MixServer from MicroImages, the tkCVS application came up
but none of the letters were legible. Once I tried with CYGWIN X-windows and
Linux/390's twm, I am getting the tkCVS windows clearly.

Thanks,

Samy Rengasamy.


-Original Message-
From: Post, Mark K [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 3:05 PM
To: [EMAIL PROTECTED]
Subject: Re: tk GUI Applications


Samy,

You might try checking out the XFree86 Font De-uglification HOWTO at
http://www.linuxdoc.org/HOWTO/mini/FDU/.

Mark Post

-Original Message-
From: Rengasamy, Samy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 27, 2001 7:36 PM
To: [EMAIL PROTECTED]
Subject: tk GUI Applications


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]



tk GUI Applications

2001-12-27 Thread Rengasamy, Samy

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]