Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 08:46:48 +0300
From:      Cristian KLEIN <cristi@net.utcluj.ro>
To:        ports@freebsd.org
Subject:   Unable to compile print/freetype2
Message-ID:  <465BBE48.1040408@net.utcluj.ro>

next in thread | raw e-mail | index | archive | help
Hello everybody,

Sorry if I haven't RTFM enough. If you are able to help, please CC me,
because I am not on the list.

In one of my jails, I have print/freetype2 (freetype2-2.2.1_1) which is
vulnerable, so I wanted to upgrade it to the newest version. Every time
I try to compile it I get the following error:

--- cut here ---
root@mail:/usr/ports/print/freetype2# make
===>  Building for freetype2-2.2.1_2
cc   -I./objs -I./builds/ansi -I./include -O -pipe -march=pentium4
-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DFT2_BUILD_LIBRARY
-DFT_CONFIG_MODULES_H="<ftmodule.h>"  -o objs/ftsystem.o src/base/ftsystem.c
In file included from ./include/freetype/config/ftconfig.h:43,
                 from src/base/ftsystem.c:29:
./include/freetype/config/ftoption.h:439:1: warning:
"TT_CONFIG_OPTION_BYTECODE_INTERPRETER" redefined
<command line>:2:1: warning: this is the location of the previous definition
/usr/lib/crt1.o(.text+0x82): In function `_start':
: undefined reference to `main'
gmake: *** [objs/ftsystem.o] Error 1
*** Error code 2

Stop in /usr/ports/print/freetype2.
--- and here ---

My ports collection is up-to-date, I have also tried to upgrade the
ports it depends on, "make clean" etc. with no success.

Other info:

--- cut here ---
root@mail:/usr/ports/print/freetype2# uname -a
FreeBSD mail.xxx.xxx 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #5: Fri Apr
27 20:01:20 EEST 2007
cristi@xxx.xxx.xxx:/usr/obj/usr/src/sys/xxx-SMP  i386

root@mail:/usr/ports/print/freetype2# cat /etc/make.conf
#
# General MAKE variables
#
CPUTYPE?=pentium4
CFLAGS= -O -pipe
MAKE_SHELL?=sh
COPTFLAGS= -O -pipe

# No X11
WITHOUT_X11=duh

# For PERL
ENABLE_SUIDPERL=yes
# added by use.perl 2007-04-25 13:34:04
PERL_VER=5.8.8
PERL_VERSION=5.8.8
--- and here ---

Thanks.



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