Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 19:20:17 +0500
From:      Jan Beich <jbeich@tormail.org>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        gecko@FreeBSD.org
Subject:   Re: www/firefox on ia64 -current: configure: error: Cannot find header fontconfig/fcfreetype.h
Message-ID:  <1UIgKz-000MiQ-SU@internal.tormail.org>
In-Reply-To: <201303211053.r2LArbbl026142@mech-cluster241.men.bris.ac.uk> (Anton Shterenlikht's message of "Thu, 21 Mar 2013 10:53:37 GMT")
References:  <201303211053.r2LArbbl026142@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Anton Shterenlikht <mexas@bristol.ac.uk> writes:

> In file included from /usr/include/sys/stat.h:99:0,
>                  from /usr/local/include/fontconfig/fontconfig.h:29,
>                  from configure:25673:
> /usr/include/sys/time.h:134:17: error: unknown type name 'sbintime_t'
> /usr/include/sys/time.h:141:1: error: unknown type name 'sbintime_t'
> /usr/include/sys/time.h: In function 'bttosbt':
> /usr/include/sys/time.h:144:12: error: 'sbintime_t' undeclared (first use in this function)
> /usr/include/sys/time.h:144:12: note: each undeclared identifier is reported only once for each function it appears in
> /usr/include/sys/time.h:144:23: error: expected ')' before 'bt'
> /usr/include/sys/time.h: At top level:
> /usr/include/sys/time.h:148:9: error: unknown type name 'sbintime_t'
> /usr/include/sys/time.h:206:9: error: unknown type name 'sbintime_t'
> /usr/include/sys/time.h:216:1: error: unknown type name 'sbintime_t'
> /usr/include/sys/time.h: In function 'tstosbt':
> /usr/include/sys/time.h:219:12: error: 'sbintime_t' undeclared (first use in this function)
> /usr/include/sys/time.h:219:23: error: expected ')' before 'ts'
> /usr/include/sys/time.h: At top level:
> /usr/include/sys/time.h:224:9: error: unknown type name 'sbintime_t'
> /usr/include/sys/time.h:234:1: error: unknown type name 'sbintime_t'
> /usr/include/sys/time.h: In function 'tvtosbt':
> /usr/include/sys/time.h:237:12: error: 'sbintime_t' undeclared (first use in this function)
> /usr/include/sys/time.h:237:23: error: expected ')' before 'tv'

This is common error when headers modified by gcc are not in sync
with those under /usr/include. For example, after

http://svnweb.freebsd.org/changeset/base/247476

make sure you have sbintime_t in sys/types.h copy

  $ fgrep sbintime /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.3/include-fixed/sys/types.h
  typedef __int64_t       sbintime_t;

If you don't have then rebuild lang/gcc47.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1UIgKz-000MiQ-SU>