[Bug 2817] New: undefined reference to `FT_Get_First_Char' and `FT_Get_Next_Char'

Wine Bugs wine-bugs at winehq.org
Wed Mar 23 14:51:47 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=2817

           Summary: undefined reference to `FT_Get_First_Char' and
                    `FT_Get_Next_Char'
           Product: Wine
           Version: 20050310
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: test
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: keizerflipje at home.nl


Hi,

I'm trying to compile Wine-20050310 with the .src.rpm provided for rh73, but
when building the rpm I get this:

make[1]: Leaving directory `/usr/src/redhat/BUILD/wine-20050310/libs'
make[1]: Entering directory `/usr/src/redhat/BUILD/wine-20050310/tools'
i386-redhat-linux-gcc -c -I. -I. -I../include -I../include
-I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -Wpointer-arith  -O2
-march=i386 -mcpu=i686 -o bin2res.o bin2res.c
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -o bin2res bin2res.o
-L../libs/port -lwine_port
i386-redhat-linux-gcc -c -I. -I. -I../include -I../include
-I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -Wpointer-arith  -O2
-march=i386 -mcpu=i686 -o fnt2bdf.o fnt2bdf.c
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -o fnt2bdf fnt2bdf.o
-L../libs/port -lwine_port
i386-redhat-linux-gcc -c -I. -I. -I../include -I../include
-I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -Wpointer-arith  -O2
-march=i386 -mcpu=i686 -o fnt2fon.o fnt2fon.c
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -o fnt2fon fnt2fon.o
-L../libs/port -lwine_port
i386-redhat-linux-gcc -c -I. -I. -I../include -I../include
-I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -Wpointer-arith  -O2
-march=i386 -mcpu=i686 -o makedep.o makedep.c
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -o makedep makedep.o
i386-redhat-linux-gcc -c -I. -I. -I../include -I../include
-I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -Wpointer-arith  -O2
-march=i386 -mcpu=i686 -o sfnt2fnt.o sfnt2fnt.c
sfnt2fnt.c: In function `fill_fontinfo':
sfnt2fnt.c:197: warning: implicit declaration of function `FT_Get_First_Char'
sfnt2fnt.c:199: warning: implicit declaration of function `FT_Get_Next_Char'
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -o sfnt2fnt sfnt2fnt.o
-L../libs/unicode -lwine_unicode -L../libs/port -lwine_port -L/usr/lib -lfreetype
sfnt2fnt.o: In function `fill_fontinfo':
sfnt2fnt.o(.text+0x35e): undefined reference to `FT_Get_First_Char'
sfnt2fnt.o(.text+0x377): undefined reference to `FT_Get_Next_Char'
collect2: ld returned 1 exit status
make[1]: *** [sfnt2fnt] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/wine-20050310/tools'
make: *** [tools] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.17590 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.17590 (%build)

[pascal at goliath SRPMS]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-129.7.2)
[pascal at goliath SRPMS]$ uname -a
Linux goliath 2.4.9-e.59smp #1 SMP Mon Jan 24 10:03:54 EST 2005 i686 unknown
[pascal at goliath SRPMS]$

Note that I'm not actually on Red Hat 7.3, I'm using CentOS-2 which is a rebuild
of Red Hat Advanced Server 2.1.

Note that RHAS2.1 actually uses the same compiler as RH7.3, but it has some
additional bug fixes.

Regards,
Pascal de Bruijn

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list