Sign in to follow this  
Followers 0
ruckus2112

make error with compat wireless

4 posts in this topic

Downloaded the compat-wireless source into /usr/src, but when I go into the directory to run make I get this error. I googled it and the common response to it was to install kernel headers (which I did). Anyone have any ideas?

$ sudo make
~/compat_wireless_make_error.txt
/bin/sh: line 0: test: -le: unary operator expected
/bin/sh: line 0: test: -ge: unary operator expected
/bin/sh: line 0: test: -le: unary operator expected
/bin/sh: line 0: test: -le: unary operator expected
/bin/sh: line 0: test: -le: unary operator expected
make: Warning: File `Makefile' has modification time 4e+04 s in the future
make: *** /lib/modules/2.6.27.5-117.fc10.i686/build: No such file or
directory. Stop.
make: *** [modules] Error 2

0

Share this post


Link to post
Share on other sites

Downloaded the compat-wireless source into /usr/src, but when I go into the directory to run make I get this error. I googled it and the common response to it was to install kernel headers (which I did). Anyone have any ideas?

$ sudo make
~/compat_wireless_make_error.txt
/bin/sh: line 0: test: -le: unary operator expected
/bin/sh: line 0: test: -ge: unary operator expected
/bin/sh: line 0: test: -le: unary operator expected
/bin/sh: line 0: test: -le: unary operator expected
/bin/sh: line 0: test: -le: unary operator expected
make: Warning: File `Makefile' has modification time 4e+04 s in the future
make: *** /lib/modules/2.6.27.5-117.fc10.i686/build: No such file or
directory. Stop.
make: *** [modules] Error 2

What *nix are you running?

on most posix compliant systems you have to run ./configure before make

http://tldp.org/LDP/LG/current/smith.html

0

Share this post


Link to post
Share on other sites

Yes, run configure. It looks like it's setting your shell as /bin/sh, when it should be using /bin/bash.

0

Share this post


Link to post
Share on other sites

you also shouldn't be running make as root(sudo).

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0