From patchwork Fri Jun 19 00:52:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yufei Yuan X-Patchwork-Id: 31277 X-Patchwork-Delegate: mchehab@redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5J0q7lD014307 for ; Fri, 19 Jun 2009 00:52:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750859AbZFSAwC (ORCPT ); Thu, 18 Jun 2009 20:52:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751918AbZFSAwC (ORCPT ); Thu, 18 Jun 2009 20:52:02 -0400 Received: from mail-gx0-f214.google.com ([209.85.217.214]:35321 "EHLO mail-gx0-f214.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbZFSAwB convert rfc822-to-8bit (ORCPT ); Thu, 18 Jun 2009 20:52:01 -0400 Received: by gxk10 with SMTP id 10so2351708gxk.13 for ; Thu, 18 Jun 2009 17:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=plIE0cRCd/Kvnjxb3Bw58Uy7Rpiuvl1AiKYhuvLux38=; b=LxFBO3tD0PUZP6WM2t5gaYlaahqSPOWAuPuTM9JW+LceBEq4yqopFsIDxsUf+4IIuH lSkbpvPH51iCcThl3itQF1pJo+FmbQV/hv/gAcPye9vAisT7eGjTqX96/9vDMaZlFVHb BqAc8OfjvLwJr94zLnTv1boHp0fXqCc3u3I2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SUiE9T9F4N7jfTesGswBypKv5Wb5fc/xflzyP2JsEc7GeAKHy4gyxmEO8kUHKi0nGU U3lNturheTGTPW52F0CfvxTr/Xwt0DC+8dUBNg7Q6CSeWqQh2DBTp8zSysoxHHVCFTa4 t+7HJo7M7a0f/SFpjtBmfwGJR5fBo7t+32Ch4= MIME-Version: 1.0 Received: by 10.90.114.20 with SMTP id m20mr1638496agc.3.1245372723709; Thu, 18 Jun 2009 17:52:03 -0700 (PDT) In-Reply-To: References: <1a297b360906180132l49aa7be4j8a1e238aa9bac65@mail.gmail.com> <1a297b360906180148lefc2d8fp972647ad0df64320@mail.gmail.com> Date: Thu, 18 Jun 2009 19:52:03 -0500 Message-ID: Subject: Re: [Patch] New utility program atsc_epg added to dvb-apps utility suite. From: Yufei Yuan To: Manu Abraham Cc: Linux Media Mailing List Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Okay, this one serves as a test as well. It's a trivial one to fix the broken dvb-apps building process with gcc4.4 on kernel 2.6.30, another way to eliminate the packed bitfield warning is to split the field, but that is unwanted. previous build error: make[2]: Entering directory `/home/alex/source/dvb-apps/util/scan' perl section_generate.pl atsc_psip_section.pl CC scan.o In file included from scan.c:48: atsc_psip_section.h:57: note: Offset of packed bit-field ‘reserved2’ has changed in GCC 4.4 CC atsc_psip_section.o In file included from atsc_psip_section.c:2: atsc_psip_section.h:57: note: Offset of packed bit-field ‘reserved2’ has changed in GCC 4.4 CC diseqc.o In file included from diseqc.c:4: /usr/include/time.h:104: error: conflicting types for ‘timer_t’ /usr/include/linux/types.h:22: note: previous declaration of ‘timer_t’ was here make[2]: *** [diseqc.o] Error 1 make[2]: Leaving directory `/home/alex/source/dvb-apps/util/scan' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/alex/source/dvb-apps/util' make: *** [all] Error 2 --- dvb-apps/util/scan/Makefile.orig 2009-06-18 19:43:52.397924757 -0500 +++ dvb-apps/util/scan/Makefile 2009-06-18 19:44:34.764925070 -0500 @@ -14,7 +14,7 @@ inst_bin = $(binaries) removing = atsc_psip_section.c atsc_psip_section.h -CPPFLAGS += -DDATADIR=\"$(prefix)/share\" +CPPFLAGS += -Wno-packed-bitfield-compat -D__KERNEL_STRICT_NAMES -DDATADIR=\"$(prefix)/share\" .PHONY: all