Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Redhat9 Issue


  • Please log in to reply
19 replies to this topic

#1 DemonSui

DemonSui

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 26 November 2006 - 05:56 PM

I have the Wifi max for my wireless connection, and for some reason it will never compile anything here: http://zd1211.ath.cx/download/
I need the driver there for my internet connection yet it won't compile. I have everything I need, and it even points to the right place, yet it says that usr/lib/src/build (or something like that, will check again later) doesn't exist. I searched out the directory, and sure enough, it does. What's going on?
Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.

BC AdBot (Login to Remove)

 


#2 DemonSui

DemonSui
  • Topic Starter

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 27 November 2006 - 08:30 PM

the error log:


[dsmaster@localhost zd1211-driver-r83]$ make
/lib/modules/2.4.20-6/build
/home/dsmaster/WLAN/zd1211-driver-r83
-I/home/dsmaster/WLAN/zd1211-driver-r83/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211B
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.4.20-6/build SUBDIRS=/home/dsmaster/WLAN/zd1211-driver-r83 modules
make: *** /lib/modules/2.4.20-6/build: No such file or directory. Stop.
make: *** [all] Error 2
[dsmaster@localhost zd1211-driver-r83]$
Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.

#3 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:04:44 AM

Posted 27 November 2006 - 08:37 PM

Are you installing it as root?

#4 DemonSui

DemonSui
  • Topic Starter

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 27 November 2006 - 08:50 PM

yes, I did that too, same problems
Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.

#5 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:04:44 AM

Posted 28 November 2006 - 10:27 AM

I would assume that there was already an rpm somewhere, but anyway, the error message that is being generated appears to be because the directory is not being created, which it wouldn't if you didn't have the necessary privileges. (just stating the obvious). I'm sure you have probably tried this also, but have you tried to manually create the folder and see what happens?

#6 DemonSui

DemonSui
  • Topic Starter

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 28 November 2006 - 11:29 AM

you lost me.

What are you asking exactly?

Edited by DemonSui, 28 November 2006 - 11:29 AM.

Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.

#7 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:04:44 AM

Posted 28 November 2006 - 01:07 PM

Actually, I wasn't really giving advice, just stating the obvious. The error you are getting indicates that the application does not have permission to create the folder, so when it looks for the folder and can't find it, it bombs out.

I have been able to 'cheat' by manually creating the desired directory (and giving it all permissions), adn then trying to install the application. Sometimes it works, sometimes it doesn't. At any rate, I was thinking that ou could probably find an .rpm here:
http://rpm.pbone.net/index.php3
And entering zd1211 in the search field.

#8 DemonSui

DemonSui
  • Topic Starter

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 28 November 2006 - 02:18 PM

There's nothing for redhat9 there.

(you'll have to excuse the confusion, I'm a complete noob to linux)
Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.

#9 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:04:44 AM

Posted 28 November 2006 - 11:01 PM

There is no reason to apologize. I have been using linux for about 8 months, and am only just starting to get comfortable with it. Which means at any moment someone will come along and tell me my diagnosis of your problem is wrong... I am pretty sure it is a permiissions issue though. Anywhoo, building from source is not something I am very comfortable with, so I avoid it as much as possible. Luckily there are plenty of repositories that make it unecessary to do so.

I am not sure how RedHat designates its builds, whether it is with a Fedore Core, or what the deal is. I know that when I search for RPMs for my distro, I look for the ones that are for Enterprise Edition 4. Looking for a driver that supports RedHat 9 may be the wrong rpm to look for. Usually, if you can use yum or apt-get, it will find the correct file for you.

Is zd1211 your hardware?

#10 DemonSui

DemonSui
  • Topic Starter

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 28 November 2006 - 11:21 PM

zd1211B is my hardware. All that usually is needed is a 1 somewhere to change it

should I get an error report from root then?

Edited by DemonSui, 28 November 2006 - 11:22 PM.

Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.

#11 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:04:44 AM

Posted 28 November 2006 - 11:29 PM

You shouldn't get an error as root (if my thoery is correct). I would assume, though, that since you are asking the question, that you got the same error messages as root?

#12 DemonSui

DemonSui
  • Topic Starter

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 28 November 2006 - 11:51 PM

if not more, yes
Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.

#13 DemonSui

DemonSui
  • Topic Starter

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 01 December 2006 - 02:44 AM

an ndiswrapper error (RPM building) and compiling, I think... (sry about the formatting, Windows doesn't open Linux's text files all that well


[dsmaster@localhost dsmaster]$ cd /home/dsmaster/ndiswrapper/ndiswrapper-1.3
[dsmaster@localhost dsmaster]$ cd /home/dsmaster/ndiswrapper/ndiswrapper-1.30/driver

[dsmaster@localhost driver]$ make
Can't find kernel build files in /lib/modules/2.4.20-6/build; give the path to kernel build

directory with
KBUILD=<path> argument to make
make: ***
[prereq_check]
Error 1

[dsmaster@localhost driver]$ make rpm
make: *** No rule to make target `rpm'. Stop.

[dsmaster@localhost driver]$ cd /home/dsmaster/ndiswrapper/ndiswrapper-1.30/
[dsmaster@localhost ndiswrapper-1.30]$ make rpm
rm: cannot remove
`ndiswrapper-1.30/AUTHORS': Permission denied
rm: cannot remove `ndiswrapper-1.30/ChangeLog': Permission deniedrm: cannot remove`ndiswrapper-1.30/INSTALL': Permission deniedrm:

cannot remove `ndiswrapper-1.30/Makefile': Permission denied
rm: cannot remove`ndiswrapper-1.30/README': Permission deniedrm: cannot

remove `ndiswrapper-1.30/ndiswrapper.spec': Permission denied
rm: cannot remove `ndiswrapper-1.30/ndiswrapper.8': Permission deniedrm: cannot remove `ndiswrapper-1.30/loadndisdriver.8':

Permission deniedrm: cannot remove `ndiswrapper-1.30/utils/Makefile': Permission deniedrm: cannot remove `ndiswrapper-

1.30/utils/ndiswrapper': Permission deniedrm: cannot remove `ndiswrapper-1.30/utils/loadndisdriver.c': Permission deniedrm: cannot

remove `ndiswrapper-1.30/utils/ndiswrapper-buginfo': Permission denied
rm: cannot remove `ndiswrapper-1.30/driver/divdi3.c':

Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/hal.c': Permission deniedrm: cannot remove `ndiswrapper-

1.30/driver/iw_ndis.c': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/iw_ndis.h': Permission deniedrm: cannot remove

`ndiswrapper-1.30/driver/loader.c': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/loader.h': Permission deniedrm:

cannot remove `ndiswrapper-1.30/driver/longlong.h': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/Makefile': Permission

deniedrm: cannot remove `ndiswrapper-1.30/driver/crt.c': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/ndis.c':

Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/ndis.h': Permission deniedrm: cannot remove `ndiswrapper-

1.30/driver/ndiswrapper.h': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/ntoskernel.c': Permission denied
rm: cannot

remove `ndiswrapper-1.30/driver/ntoskernel.h': Permission denied
rm: cannot remove `ndiswrapper-1.30/driver/ntoskernel_io.c':

Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/pe_linker.c': Permission deniedrm: cannot remove `ndiswrapper-

1.30/driver/pe_linker.h': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/pnp.c': Permission deniedrm: cannot remove

`ndiswrapper-1.30/driver/pnp.h': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/proc.c': Permission deniedrm: cannot

remove `ndiswrapper-1.30/driver/rtl.c': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/usb.c': Permission deniedrm:

cannot remove `ndiswrapper-1.30/driver/usb.h': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/winnt_types.h': Permission

deniedrm: cannot remove `ndiswrapper-1.30/driver/workqueue.c': Permission deniedrm: cannot remove `ndiswrapper-

1.30/driver/wrapmem.h': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/wrapmem.c': Permission deniedrm: cannot remove

`ndiswrapper-1.30/driver/wrapper.c': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/wrapndis.h': Permission deniedrm:

cannot remove `ndiswrapper-1.30/driver/wrapndis.c': Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/lin2win.h':

Permission deniedrm: cannot remove `ndiswrapper-1.30/driver/win2lin_stubs.S': Permission deniedmake: *** [dist] Error 1
[dsmaster@localhost ndiswrapper-1.30]$ su
Password:
su: incorrect password
[dsmaster@localhost ndiswrapper-1.30]$ su
Password:
[root@localhost ndiswrapper-1.30]# make rpm
mkdir -p ndiswrapper-1.30
for subdir in utils driver; do \
if test "$subdir" = .;

then :; else \
test -d ndiswrapper-1.30/$subdir \
|| mkdir ndiswrapper-1.30/$subdir \
|| exit 1; \
fi; \
done
make -C driver

distdir=../ndiswrapper-1.30/driver dist
make[1]: Entering directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/driver'make[1]:

Leaving directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/driver'make -C utils distdir=../ndiswrapper-1.30/utils dist
make[1]:

Entering directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/utils'make[1]: Leaving directory

`/home/dsmaster/ndiswrapper/ndiswrapper-1.30/utils'# Update version in dist rpm spec file - don't crash if it failssed -i "s/\%

define\s\+ndiswrapper_version\s\+[^\}]\+\}/%define ndiswrapper_version 1.30\}/" ndiswrapper-1.30/ndiswrapper.spec
tar cfz ndiswrapper

-1.30.tar.gz ndiswrapper-1.30
rpmbuild -ta ndiswrapper-1.30.tar.gz --define="ndiswrapper_version 1.30"error: Failed build

dependencies:
/lib/modules/2.4.20-6/source/Makefile is needed by ndiswrapper-1.30-1make: *** [rpm] Error 1

[root@localhost ndiswrapper-1.30]# make rpm KSCR=/lib/modules/kernal
mkdir -p ndiswrapper-1.30
for subdir in utils driver; do \
if

test "$subdir" = .; then :; else \
test -d ndiswrapper-1.30/$subdir \
|| mkdir ndiswrapper-1.30/$subdir \
|| exit 1; \
fi;

\
done
make -C driver distdir=../ndiswrapper-1.30/driver dist
make[1]: Entering directory `/home/dsmaster/ndiswrapper/ndiswrapper-

1.30/driver'
make[1]: Leaving directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/driver'
make -C utils distdir=../ndiswrapper-

1.30/utils dist
make[1]: Entering directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/utils'
make[1]: Leaving directory

`/home/dsmaster/ndiswrapper/ndiswrapper-1.30/utils'
# Update version in dist rpm spec file - don't crash if it fails
sed -i "s/\%

define\s\+ndiswrapper_version\s\+[^\}]\+\}/%define ndiswrapper_version 1.30\}/" ndiswrapper-1.30/ndiswrapper.spec
tar cfz ndiswrapper

-1.30.tar.gz ndiswrapper-1.30
rpmbuild -ta ndiswrapper-1.30.tar.gz --define="ndiswrapper_version 1.30"
error: Failed build

dependencies:
/lib/modules/2.4.20-6/source/Makefile is needed by ndiswrapper-1.30-1
make: *** [rpm] Error 1
[root@localhost

ndiswrapper-1.30]# make rpm KBUILD=/lib/modules/kernal
mkdir -p ndiswrapper-1.30
for subdir in utils driver; do \
if test "$subdir" =

.; then :; else \
test -d ndiswrapper-1.30/$subdir \
|| mkdir ndiswrapper-1.30/$subdir \
|| exit 1; \
fi; \
done
make -C

driver distdir=../ndiswrapper-1.30/driver dist
make[1]: Entering directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/driver'
make

[1]: Leaving directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/driver'
make -C utils distdir=../ndiswrapper-1.30/utils dist
make

[1]: Entering directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/utils'
make[1]: Leaving directory

`/home/dsmaster/ndiswrapper/ndiswrapper-1.30/utils'
# Update version in dist rpm spec file - don't crash if it fails
sed -i "s/\%

define\s\+ndiswrapper_version\s\+[^\}]\+\}/%define ndiswrapper_version 1.30\}/" ndiswrapper-1.30/ndiswrapper.spec
tar cfz ndiswrapper

-1.30.tar.gz ndiswrapper-1.30
rpmbuild -ta ndiswrapper-1.30.tar.gz --define="ndiswrapper_version 1.30"
error: Failed build

dependencies:
/lib/modules/2.4.20-6/source/Makefile is needed by ndiswrapper-1.30-1
make: *** [rpm] Error 1
[root@localhost ndiswrapper-1.30]#
Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.

#14 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:11:44 AM

Posted 01 December 2006 - 05:35 PM

you're not doing it as root. That's a user account. If you want to do it that way, you need to type su before those commands. If it's a function that asks a lot of yes or no questions and you all ready know the answers are yes, a -y switch is nice to throw in there as well.
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#15 DemonSui

DemonSui
  • Topic Starter

  • Members
  • 325 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Hammond, IN
  • Local time:05:44 AM

Posted 01 December 2006 - 06:44 PM

I am too doing it as root.

[dsmaster@localhost ndiswrapper-1.30]$ su
Password:
su: incorrect password
[dsmaster@localhost ndiswrapper-1.30]$ su
Password:
[root@localhost ndiswrapper-1.30]# make rpm
mkdir -p ndiswrapper-1.30
for subdir in utils driver; do \
if test "$subdir" = .;

then :; else \
test -d ndiswrapper-1.30/$subdir \
|| mkdir ndiswrapper-1.30/$subdir \
|| exit 1; \
fi; \
done
make -C driver

distdir=../ndiswrapper-1.30/driver dist
make[1]: Entering directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/driver'make[1]:

Leaving directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/driver'make -C utils distdir=../ndiswrapper-1.30/utils dist
make[1]:

Entering directory `/home/dsmaster/ndiswrapper/ndiswrapper-1.30/utils'make[1]: Leaving directory

`/home/dsmaster/ndiswrapper/ndiswrapper-1.30/utils'# Update version in dist rpm spec file - don't crash if it failssed -i "s/\%

define\s\+ndiswrapper_version\s\+[^\}]\+\}/%define ndiswrapper_version 1.30\}/" ndiswrapper-1.30/ndiswrapper.spec
tar cfz ndiswrapper

-1.30.tar.gz ndiswrapper-1.30
rpmbuild -ta ndiswrapper-1.30.tar.gz --define="ndiswrapper_version 1.30"error: Failed build

dependencies:
/lib/modules/2.4.20-6/source/Makefile is needed by ndiswrapper-1.30-1make: *** [rpm] Error 1


but I've decided to scratch trying to run Linux with Red Hat9 and am waiting for another distro to arrive in the mail. This can be locked, or deleted

Edited by DemonSui, 01 December 2006 - 06:45 PM.

Let free your emotions so I can destroy them!

PSP M33 USER.

MY new PC is a laptop and I love it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users