Ok, 

the tools work fine if I just compile the non-debian sources.

The defines are not being set correctly.  Building the debian package it
is compiled like this:
gcc -Wall -g -O2 -g -Wall -O2  -o wrmsr wrmsr.c
gcc -Wall -g -O2 -g -Wall -O2  -o rdmsr rdmsr.c

Building without debian patches it is like this:
gcc -Wall -g -O2 -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -o 
wrmsr wrmsr.c
gcc -Wall -g -O2 -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -o 
rdmsr rdmsr.c

I see the debian patch adds #define __USE_UNIX98 to the source, but that
doesn't appear to be sufficient.  





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to