Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2005 14:59:59 +0300
From:      Paolo Supino <vrkid0@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   file-4.09 compilation error
Message-ID:  <dddf51570507040459167e4369@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi=20

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
-Wl,/finjan//lib
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[1]: *** [file] Error 1
gmake[1]: 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
greatly appriciated.



Paolo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dddf51570507040459167e4369>