Modify

Opened 5 years ago

Closed 5 years ago

Last modified 2 years ago

#10834 closed defect (fixed)

qt4 fails to build due to missing directfb.h [patch]

Reported by: bas@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

When building qt4, i have this error:

In file included from qdirectfbscreen.cpp:42:0:
qdirectfbscreen.h:48:22: fatal error: directfb.h: No such file or directory
compilation terminated.

./staging_dir/target-mipsel_uClibc-0.9.32/usr/include/directfb/directfb.h is in place though

Here's the patch to make qt4 build:

Index: lib/qt4/Makefile
===================================================================
--- lib/qt4/Makefile	(revision 29838)
+++ lib/qt4/Makefile	(working copy)
@@ -266,7 +266,7 @@
 TARGET_INCDIRS+=$(STAGING_DIR)/include $(STAGING_DIR)/usr/include $(TOOLCHAIN_DIR)/include $(TOOLCHAIN_DIR)/usr/include
 TARGET_LIBDIRS+=$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib $(TOOLCHAIN_DIR)/lib $(TOOLCHAIN_DIR)/usr/lib
 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib,-rpath-link=$(PKG_BUILD_DIR)/lib
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/freetype2 -I$(PKG_BUILD_DIR)/include
+TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/freetype2 -I$(PKG_BUILD_DIR)/include -I$(STAGING_DIR)/usr/include/directfb
 
 ifeq ($(CONFIG_QT4_WS_QWS),y)
   FILEPFX:=qws-

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by mirko

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r31076 - thanks

comment:2 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.