Trouble compiling ndiswrapper on FC5 ppc

When I get to the "make" command, I get a million warnings like this...



/home/dallasray/ndiswrapper-1.13/driver/ndis.h:291: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:291: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:295: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:295: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:299: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:299: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:300: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:300: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:301: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:301: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:302: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:302: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:304: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:304: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:305: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:305: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:308: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:308: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:310: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:310: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:311: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:311: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:341: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:341: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:787: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:787: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:788: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:788: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:791: warning: ‘__stdcall__’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:791: warning: ‘regparm’ attribute directive ignored
/home/dallasray/ndiswrapper-1.13/driver/ndis.h:792: warning: ‘__stdcall__’ attribute directive ignored
LVL 2
smetterdAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xDamoxCommented:
Hi,

All you need to do to install ndiswrapper is:

yum install ndiswrapper
0
smetterdAuthor Commented:
No match for arguemnt: ndiswrapper

Hmm... why no match?
0
ZentooCommented:
You need to add a new repository with more packages than the default one

here is the link for HOWTO and the website has quite a good number of packages

http://dag.wieers.com/home-made/apt/FAQ.php#B

Regards,
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

xDamoxCommented:
Hi,

ok do this:

rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
rpm -ivh http://rpm.livna.org/livna-release-5.rpm

then do

yum upgrade
yum install ndiswrapper

All should be done with root access.
0
ZentooCommented:
Yep, all need to be done with root
0
ZentooCommented:
Oh sorry, I was pay attention, because you are using YUM so you need to edit the file yum.conf, the above method are for apt-get(different package manager)

nano -w /etc/yum.conf

add the following line

[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

and then do

yum update
yum install ndiswrapper


Regards,
0
smetterdAuthor Commented:
xDamox, I think we're almost done here, but now I get

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ndiswrapper.ppc 0:1.13-1.lvn5 set to be updated
--> Running transaction check
--> Processing Dependency: kmod-ndiswrapper >= 1.13 for package: ndiswrapper
--> Finished Dependency Resolution
Error: Missing Dependency: kmod-ndiswrapper >= 1.13 is needed by package ndiswrapper


Why wouldn't the repository have the right version? What's the best way to get the right version of kmod?
0
xDamoxCommented:
Hi,

Try this first:

yum install kmod-ndiswrapper

then

yum install kmod-ndiswrapper

If that does not work do this:

yum install ndiswrapper kernel-module-ndiswrapper
0
smetterdAuthor Commented:
All of those commands result in a "Nothing to Do" message
0
xDamoxCommented:
Hi,

try:

rpm -qa | grep kmod-ndiswrapper
rpm -qa | grep ndiswrapper

just make sure its not already installed
0
smetterdAuthor Commented:
How can I make sure it's not already installed? If it is, how can I completely uninstall it?
0
xDamoxCommented:
Hi,

Run the following:

rpm -qa | grep ndiswrapper

this will display any packages that have the name ndiswrapper. To remove packages
you simply do the following:

yum remove packagename

or

rpm -e packagename
0
smetterdAuthor Commented:
rpm -qa | grep ndiswrapper
and
rpm -qa | grep kmod-ndiswrapper

yield no response at all... apparently they aren't installed. But I certainly am having trouble *getting* them installed.
0
xDamoxCommented:
Hmmm this is wired, try updating your repos

yum update

then run the yum install ndiswrapper
0
smetterdAuthor Commented:
http://rpm.livna.org/

dig into the ppc arch and you will notice that kmod-ndiswrapper simply does not exist.

dig into the x86 arch and you will find that it exists.

Where can I get the right package?
0
xDamoxCommented:
Try this its abit ugly but have a go:

rpm -ihv --nodeps http://rpm.livna.org/fedora/5/ppc/ndiswrapper-1.10-2.lvn5.ppc.rpm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.