Project

General

Profile

Actions

Bug #1399

open

64 Bit Compilation schlaegt fehl

Added by HelAu over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
07/13/2013
Due date:
% Done:

0%

Estimated time:

Description

g++ -Werror=overloaded-virtual -Wno-parentheses -mtune=generic -O3 -msse -msse2 -msse3 -pipe -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fPIC -DUSE_WAREAGLEICON -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"muggle"' -DMUSICDIR='"/mnt/music"' -DHAVE_SQLITE -DHAVE_VORBISFILE -DHAVE_SNDFILE -I/usr/local/src/VDR -I/usr/local/src/VDR/include -I/usr/include/taglib -c mg_image_provider.c
In file included from mg_image_provider.c:26:0:
/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64" 

Mit diesem Patch:

--- Makefile.old        2013-07-13 17:04:10.673396068 +0200
+++ Makefile    2013-07-13 17:05:21.724502835 +0200
@@ -149,6 +149,7 @@

 DEFINES := $(filter-out $(FTWNOTWANTED),$(DEFINES))
 DB_CFLAGS := $(filter-out $(FTWNOTWANTED),$(DB_CFLAGS))
+CXXFLAGS := $(filter-out $(FTWNOTWANTED),$(CXXFLAGS))

 OBJS += $(DB_OBJ)
 

klappts

Actions

Also available in: Atom PDF