lkml.org 
[lkml]   [1998]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel problems
Hi Jeff,

The common thread here is that you can't run executable files on
your system.

Try this:

cd /usr/src/linux
mkdir x ; cd x
cat > hello.c << HERE
#include <stdio.h>
int main( )
{
printf( "hello, world\n" );
return 0;
}
HERE
cc hello.c
a.out
./a.out
cd ..
x/a.out
./x/a.out

You should be able to compile and run hello.c with any of these commands.

Things to try:

(1) Don't login as root. Blow away /usr/src/linux and install it as
a normal user in the user's home directory.

(2) Check your umask. Say 'umask' and check the first digit. If the
first digit is odd, that is your problem. Try 'umask 0'.

(3) Maybe you have some terminally bizarre file system configuration.

Try these things, gather up a report, and e-mail me.

Michael Chastain
<mailto:mec@shout.net>
"love without fear"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.033 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site