ttmkfdir fails

Larry Rosenman ler at
Fri Apr 2 10:19:53 PST 2004

I'm getting the following on a Monday -CURRENT, with a today ports tree:

lerlaptop# tail -20 log-x11-fonts::ttmkfdir
mv -f .libs/directory.lo directory.lo
libtool13 --mode=compile g++ -O -pipe `freetype-config --cflags` -o 
commandline.o -c commandline.cpp
rm -f .libs/commandline.lo
g++ -O -pipe -I/usr/local/include/freetype2 -I/usr/local/include -c 
commandline.cpp  -fPIC -DPIC -o .libs/commandline.lo
In file included from /usr/include/c++/3.3/bits/gthr-default.h:38,
                 from /usr/include/c++/3.3/bits/gthr.h:98,
                 from /usr/include/c++/3.3/bits/c++io.h:37,
                 from /usr/include/c++/3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3/bits/char_traits.h:46,
                 from /usr/include/c++/3.3/string:47,
                 from commandline.h:5,
                 from commandline.cpp:6:
/usr/include/unistd.h:376: error: declaration of C function `int getopt(int,
   char* const*, const char*)' conflicts with
/usr/local/include/getopt.h:115: error: previous declaration `int getopt()'
gmake: *** [commandline.o] Error 1
*** Error code 2

Stop in /shared/ports/x11-fonts/ttmkfdir.
Larry Rosenman           
Phone: +1 972-414-9812                 E-Mail: ler at
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list