Subject: Re: ttmkfdir2 failing?
To: Hubert Feyrer <hubert@feyrer.de>
From: Perry E. Metzger <perry@piermont.com>
List: tech-pkg
Date: 08/07/2005 13:13:52
Cleaning a few things up and building by hand, I get this. Anyone have
any idea how to fix it?:
lex -i -8 -oparser.cpp encoding.l
libtool --mode=compile c++ -I/usr/include -I/usr/pkg/include/freetype2 -O2 -I/usr/include -I/usr/pkg/include/freetype2 `/usr/pkg/bin/freetype-config --cflags` -o parser.o -c parser.cpp
c++ -I/usr/pkgsrc/fonts/ttmkfdir2/work.hackworth/.buildlink/include/freetype2 -O2 -I/usr/pkgsrc/fonts/ttmkfdir2/work.hackworth/.buildlink/include -c parser.cpp -fPIC -DPIC -o .libs/parser.o
parser.cpp: In function `yy_buffer_state* yy_scan_bytes(const char*, int)':
parser.cpp:1682: error: invalid conversion from `const char*' to `char*'
parser.cpp:1682: error: initializing argument 1 of `yy_buffer_state*
yy_scan_buffer(char*, unsigned int)'
gmake: *** [parser.o] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/fonts/ttmkfdir2
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/fonts/ttmkfdir2/work.hackworth/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/fonts/ttmkfdir2