Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 2 > Re: gpm on linu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 288 of 382
Post > Topic >>

Re: gpm on linux?

by Marco van de Voort <marcov@[EMAIL PROTECTED] > Jul 13, 2006 at 07:22 AM

On 2006-07-12, Martin Whitaker <news@[EMAIL PROTECTED]
>
wrote:
>> of gpm and what did you do to install it?
>> 
> I run gpm under Mandriva 2006 (kernel 2.6.12-12mdk, gcc 4.0.1, glibc
2.3.5),
> and always get the message:
>
>    Incorrectly built binary which accesses errno or h_errno directly.
Needs
>    to be fixed.

yeah, you need to access __errno_location now.

Probably you need to do something like this:

- define h_errno/errno.
- wrap every library call 
	- before each call copy the new errno's value to
		__errno_location^
	- after copy __errno_location^ to errno.
- this wrapping could be possible with ld_preload 

Afaik they employed similar techniques to keep Kylix running (other libc
issues though) 

Setting LD_ASSUME_KERNEL might also help:
http://people.redhat.com/drepper/assumekernel.html
 




 8 Posts in Topic:
gpm on linux?
"Georg Lokowandt&quo  2006-07-12 15:28:49 
Re: gpm on linux?
Martin Whitaker <news@  2006-07-12 20:25:44 
Re: gpm on linux?
Marco van de Voort <ma  2006-07-13 07:22:48 
Re: gpm on linux?
john o goyo <j.o.goyo@  2006-07-13 10:56:29 
Re: gpm on linux? (correction)
john o goyo <j.o.goyo@  2006-07-14 08:51:02 
Re: gpm on linux? (correction)
"Georg Lokowandt&quo  2006-07-20 18:25:50 
Re: gpm on linux? (success)
john o goyo <j.o.goyo@  2007-04-02 16:01:26 
Re: gpm on linux?
Izo <I@[EMAIL PROTECTE  2006-07-14 08:37:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 7:13:56 CDT 2008.