Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#4936 closed defect (fixed)

qwo doesn't compile

Reported by: maddes.b Owned by: nico
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: qwo read_config Cc:

Description

Revision: r15213 /
Build Environment: Debian 5.0r0 /
Target: Marvel Orion, SquashFS image /
Call: make V=99

Error message:
make[6]: Entering directory `/home/openwrt/kamikaze-trunk/build_dir/target-arm_uClibc-0.9.29/Xorg/qwo-0.3/src'
arm-openwrt-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPKGDATADIR=\"/usr/share/qwo\" -DDATADIR=\""/usr/share"\" -D_GNU_SOURCE -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/usr/include -I/home/openwrt/kamikaze-trunk/staging_dir/target-arm_uClibc-0.9.29/include -Wall -pedantic -std=c99 -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -MT qwo.o -MD -MP -MF .deps/qwo.Tpo -c -o qwo.o qwo.c
qwo.c:42:23: error: libconfig.h: No such file or directory
qwo.c: In function 'read_config':
qwo.c:272: error: 'config_t' undeclared (first use in this function)
qwo.c:272: error: (Each undeclared identifier is reported only once
qwo.c:272: error: for each function it appears in.)
qwo.c:272: error: expected ';' before 'configuration'
qwo.c:276: error: expected '=', ',', ';', 'asm' or 'attribute' before '*' token
qwo.c:276: error: 'keymap' undeclared (first use in this function)
qwo.c:277: error: expected '=', ',', ';', 'asm' or 'attribute' before '*' token
qwo.c:277: error: 'line' undeclared (first use in this function)
qwo.c:283: error: 'configuration' undeclared (first use in this function)
qwo.c:284: error: 'CONFIG_FALSE' undeclared (first use in this function)
make[6]: * [qwo.o] Error 1

Attachments (1)

qwo.patch (373 bytes) - added by Maddes <maddes_trac@…> 9 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by ruff <rufferson@…>

the fix

ruff@merlin ~/openwrt/kamikadze/package/feeds/packages/qwo $ svn diff
Index: Makefile
===================================================================
--- Makefile    (revision 15289)
+++ Makefile    (working copy)
@@ -20,6 +20,7 @@
 PKG_INSTALL:=1

 TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
+TARGET_CPPFLAGS+=-I$(STAGING_DIR)/usr/include/libconfig

 define Package/qwo
   SECTION:=xorg-app
r

comment:2 Changed 9 years ago by Maddes <maddes_trac@…>

The above mentioned patch (without the trailing single "r") worked fine for me in r15557.
Please review it and add it to the repository.

comment:3 Changed 9 years ago by nico

  • Owner changed from developers to nico
  • Status changed from new to assigned

Changed 9 years ago by Maddes <maddes_trac@…>

comment:4 Changed 9 years ago by Maddes <maddes_trac@…>

Added patch as file for easier implementation

comment:5 Changed 9 years ago by nico

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

Fixed in [15819], thanks!

comment:6 Changed 4 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.