NetBSD Problem Report #42117

From  Thu Sep 24 00:39:15 2009
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 8645C63B8DF
	for <>; Thu, 24 Sep 2009 00:39:15 +0000 (UTC)
Message-Id: <>
Date: Thu, 24 Sep 2009 00:39:15 +0000 (UTC)
Subject: audio/faad2 fails to build on Sparc Solaris with Sun compilers
X-Send-Pr-Version: www-1.0

>Number:         42117
>Category:       pkg
>Synopsis:       audio/faad2 fails to build on Sparc Solaris with Sun compilers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 24 00:40:00 +0000 2009
>Last-Modified:  Tue Dec 01 13:27:51 +0000 2009
>Originator:     RM
SunOS ultra10 5.10 Generic_139555-08 sun4u sparc SUNW,Ultra-5_10
 cc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -iquote ../include -O -c bits.c  -KPIC -DPIC -o .libs/bits.o
cc: Warning: Option -quote passed to ld, if ld is invoked, ignored otherwise
"common.h", line 42: cannot find include file: "neaacdec.h"
"structs.h", line 427: syntax error before or at: NeAACDecConfiguration
cc: acomp failed for bits.c
gmake[2]: *** [bits.lo] Error 1
gmake[2]: Leaving directory `/opt/pkg.obj/audio/faad2/work.ultra10/faad2-2.7/libfaad'


Sun compilers don't support '-iquote' options, it's only valid for GCC-4.x.
I guess the fix is to patch faad2 Makefile and replace '-iquote' with '-I',
or hack pkgsrc compiler wrapper scripts to replace '-iquote' on the fly with '-I'



Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-When: Tue, 01 Dec 2009 13:27:51 +0000
Problem on Solaris.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.