Rather than necro an old thread, I'll make my own. I'm attempting to drive a Realtek driver on my linux kernel. The following thread describes my situation to the dime:
I've been perusing looking for an answer as to how to get the driver to install, and every working situation involves editing the driver file. Granted I don't know much about .c files or the compilation thereof, but I did replace "init_MUTEX(pmutex)" with "sema_init(pmutex,1)" in the os_dep/osdep_service.c file using a text editor. Saved and overwritten. When I navigate the terminal and run "./install.sh", I get the same compiling error and another program appears to have overwritten my edited osdep_service.c file with the original. Am I missing something?