file-4.09 compilation error
vrkid0 at gmail.com
Mon Jul 4 12:00:01 GMT 2005
If this is the wrong place to ask the following question please direct
me in the right direction...
I'm trying to compile and install 'file-4.09' on FreeBSD 4.10 (someone
else needs it) and the compilation fails with the following error:
gcc -g -O2 -o .libs/file file.o ./.libs/libmagic.so -lz -Wl,--rpath
file.o: In function `file_mbswidth':
/home/paolo/src/file-4.09/src/file.c:465: undefined reference to `mbrtowc'
/home/paolo/src/file-4.09/src/file.c:479: undefined reference to `wcwidth'
gmake: *** [file] Error 1
gmake: Leaving directory `/home/paolo/src/file-4.09/src'
gmake: *** [install-recursive] Error 1
The ports tree has version 4.07 (too old) and compiline version 4.12
completes successfully. I cannot force a version change so installing
4.12 out of the question.
Any help in causing file version 4.09 to compile successfully will be
More information about the freebsd-questions