Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've been having this same problem, and the only way I've found to get around it is to use the windows driver with ndiswrapper.
I went looking for that "-mtune=pentium4" line in both the driver makefile and the kernel makefile and couldn't find it in either, but after some googling, I came upon the GCC Optimization flags "-march" and "-mcpu", both of which take values such as pentium4. Unfortunately, I searched for these tags in both makefiles and couldn't find them either.
In the driver makefile, however, there is this "-O6" tag which might be some sort of optimization but it still didn't compile after removing that line.
All in all, that mtune/march/mcpu flag is being added somewhere I don't know about (I new to linux so I really don't have much clue how this works). Installing the ndiswrapper driver was very easy though. Simply download ndiswrapper from sourcefourge, extract it and run make / make install. Then download the windows Realtek 8180 driver and extract it. Then type:
ndiswrapper -i realtek_driver_name.inf
That installed it and loaded int for me. The nice thing about the ndiswrapper driver (although I hate using a windows driver) was that it loaded into the Network Configuration Dialog that ships with Fedora. (You might have to manually add the wireless connection, but the hardware is installed.