Busindre » Blog Archive » Problema compilando RT2500-Linux-STA (modversions.h)

Problema compilando RT2500-Linux-STA (modversions.h)

December 1st, 2007 by Busindre

Driver: http://www.ralinktech.com/ralink/Home/Support/Linux.html

Problema:

# make
cc -D__KERNEL__ -I/usr/src/linux-2.4.31Busi/include -O2 -fomit-frame-pointer -fn o-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DM ODULE -DMODVERSIONS -include /usr/src/linux-2.4.31Busi/include/linux/modversions .h -Wall -Wstrict-prototypes -Wno-trigraphs -c -o rtmp_main.o rtmp_main.c
:138336209:55320: /usr/src/linux-2.4.31Busi/include/linux/modversions.h: No existe el fichero o el directorio
make: *** [rtmp_main.o] Error 1

Solución:


# locate modversions.h
/usr/include/linux/modversions.h
# cd /usr/src/linux-2.4.31Busi/include/linux/
# ln -s /usr/include/linux/modversions.h

Posted in How To |

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.