Discussion:
[bug #52942] [xlib] Build failure with LDFLAGS=-Wl,--no-undefined
Yavor Doganov
2018-01-21 08:51:36 UTC
Permalink
URL:
<http://savannah.gnu.org/bugs/?52942>

Summary: [xlib] Build failure with LDFLAGS=-Wl,--no-undefined
Project: GNUstep
Submitted by: yavor
Submitted on: Sun 21 Jan 2018 10:51:34 AM EET
Category: Backend
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

The xlib backend uses freetype functions so it has to link with it:


Linking bundle libgnustep-back-026 ...
./xlib/obj/subproject.o: In function
`_i_GSXftFontInfo__appendBezierPathWithGlyphs_count_toBezierPath_':
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:695: undefined
reference to `FT_Load_Glyph'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:698: undefined
reference to `FT_Get_Glyph'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:701: undefined
reference to `FT_Glyph_Transform'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:712: undefined
reference to `FT_Outline_Decompose'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:714: undefined
reference to `FT_Done_Glyph'
collect2: error: ld returned 1 exit status


Straightforward patch attached.



_______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 21 Jan 2018 10:51:34 AM EET Name:
0001-Add-FREETYPE_LIBS-to-LIBS-when-building-xlib.patch Size: 2KiB By:
yavor

<http://savannah.gnu.org/bugs/download.php?file_id=42997>

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?52942>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Fred Kiefer
2018-01-21 15:56:28 UTC
Permalink
Update of bug #52942 (project gnustep):

Status: None => Ready For Test
Assigned to: None => FredKiefer
Open/Closed: Open => In Test

_______________________________________________________

Follow-up Comment #1:

Applied you patch.

Thank you
Fred

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?52942>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...