Hello, I'm trying to compile the Paragon NTFS driver (said to have much better performance than ntfs-3g
). I've installed gcc and make, and when I run the install script I have the error:
-e Preparing to Install
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
-e Can't preparing driver configuration
exit: 15: Illegal number: -1
I did have some errors w/ no /bin/arch, but I found the solution here
$ cd /bin; echo 'uname -m'> /bin/arch; chmod 755 /bin/arch
Also, it was apparent that my /lib/modules directory was empty, as was my /usr/src. So I downloaded the linux 2.6.22-18 kernel source from here
. The problem is, I can't find the headers. I untar'd the source to /usr/src/source, and symlinked the source directory to /lib/modules/188.8.131.52/
ls -s /usr/src/source/ /lib/modules/184.108.40.206/
When I look at the config.log, something stands out:
configure:1716: gcc -D__linux__ -D__KERNEL__ -I/lib/modules/220.127.116.11/source//include/ -include -fno-builtin conftest.c >&5
cc1: error: -fno-builtin: No such file or directory
There's two '/' before the include subdirectory. I don't know if that's the problem, or if it's the problem of not having the headers, but it won't compile.
I have looked all day and I can't find the linux headers for this kernel and this architecture.
I'm a total newb when it comes to embedded computing, so any input would be appreciated!