bugThe FreeType Project - Bugs: bug #42100, freetype fails to link when...

 
 

bug #42100: freetype fails to link when building a static library due to missing libz inclusion

Submitted by:  Alan Hourihane <alanh>
Submitted on:  Sat 12 Apr 2014 10:00:28 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 12 Apr 2014 10:02:16 AM UTC, comment #1:

Close this. Meant to be logged against fontconfig, not freetype :-(

Alan Hourihane <alanh>
Sat 12 Apr 2014 10:00:28 AM UTC, original submission:

Freetype 2.11.1 fails to build when building a static only library because libz isn't specifically listed as a link target.

m68k-atari-mint-gcc -DHAVE_CONFIG_H -I. -I/j/var/tmp/portage/media-libs/fontconfig-2.11.1/work/fontconfig-2.11.1/fc-cache -I.. -I/j/var/tmp/portage/media-libs/fontconfig-2.11.1/work/fontconfig-2.11.1 -I/j/var/tmp/portage/media-libs/fontconfig-2.11.1/work/fontconfig-2.11.1/src -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -c -o fc-cache.o /j/var/tmp/portage/media-libs/fontconfig-2.11.1/work/fontconfig-2.11.1/fc-cache/fc-cache.c
/bin/bash ../libtool --tag=CC --mode=link m68k-atari-mint-gcc -O2 -pipe -o fc-cache fc-cache.o ../src/libfontconfig.la -lpthread
libtool: link: m68k-atari-mint-gcc -O2 -pipe -o fc-cache fc-cache.o ../src/.libs/libfontconfig.a -lfreetype -lexpat -lpthread
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x1a4): undefined reference to `inflate'
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x32a): undefined reference to `inflateReset'
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x39a): undefined reference to `inflateEnd'
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x4d0): undefined reference to `inflateInit2_'
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x620): undefined reference to `inflateEnd'
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x6cc): undefined reference to `inflateInit2_'
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x6f0): undefined reference to `inflate'
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x704): undefined reference to `inflateEnd'
/j/usr/m68k-atari-mint/gcc-bin/4.7.2/../../../lib/gcc/m68k-atari-mint/4.7.2/../../../libfreetype.a(ftgzip.o):ftgzip.o:(.text+0x73a): undefined reference to `inflateEnd'
collect2: error: ld returned 1 exit status

Alan Hourihane <alanh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Updated the item)
  • -unavailable- added by alanh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 12 Apr 2014 10:08:14 AM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1