Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 09:01:53 GMT
From:      Martin Etteldorf <etteldor@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183949: mdbtools-0.7.1 fails to compile on 9.1p3
Message-ID:  <201311140901.rAE91rmc027537@oldred.freebsd.org>
Resent-Message-ID: <201311140910.rAE9A0gQ059055@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183949
>Category:       ports
>Synopsis:       mdbtools-0.7.1 fails to compile on 9.1p3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 09:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Martin Etteldorf
>Release:        FreeBSD 9.1-RELEASE-p3
>Organization:
>Environment:
FreeBSD kadath 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #1 r250201: Fri May  3 16:42:42 MEST 2013     root@kadath:/usr/src/sys/amd64/compile/KADATH  amd64
>Description:
mdbtools-0.7.1 fails to compile on 9.1p3 with base system compiler:

# cc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]


# make
[...]
===>  Building for mdbtools-0.7.1
Making all in src
Making all in libmdb
  CC       catalog.lo
  CC       mem.lo
catalog.c: In function 'mdb_free_catalog':
catalog.c:60: warning: implicit declaration of function 'mdb_free_props'
catalog.c:60: error: 'MdbProperties' undeclared (first use in this function)
catalog.c:60: error: (Each undeclared identifier is reported only once
catalog.c:60: error: for each function it appears in.)
catalog.c:60: error: expected expression before ')' token
catalog.c: In function 'mdb_read_catalog':
catalog.c:103: warning: implicit declaration of function 'mdb_bind_column_by_name'
catalog.c:122: error: 'MdbCatalogEntry' has no member named 'flags'
catalog.c:127: warning: implicit declaration of function 'mdb_ole_read_full'
catalog.c:127: warning: initialization makes pointer from integer without a cast
catalog.c:129: warning: implicit declaration of function 'mdb_kkd_to_props'
catalog.c:129: warning: assignment makes pointer from integer without a cast
catalog.c:136: warning: implicit declaration of function 'mdb_free_tabledef'
mem.c:22: error: expected declaration specifiers or '...' before 'mdb_init'
mem.c:23: warning: return type defaults to 'int'
mem.c:28: error: expected declaration specifiers or '...' before 'mdb_exit'
mem.c:29: warning: return type defaults to 'int'
mem.c:29: error: redefinition of 'MDB_DEPRECATED'
mem.c:23: error: previous definition of 'MDB_DEPRECATED' was here
*** [catalog.lo] Error code 1
*** [mem.lo] Error code 1

>How-To-Repeat:
compile source from ports tree on 9.1p3
>Fix:
Add "USE_GCC=     4.6+" to the Makefile 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311140901.rAE91rmc027537>