From owner-freebsd-ports@FreeBSD.ORG Fri Feb 5 11:00:51 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2AC8106566B; Fri, 5 Feb 2010 11:00:51 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 277FA8FC19; Fri, 5 Feb 2010 11:00:50 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1NdLvd-0004aN-WE>; Fri, 05 Feb 2010 12:00:50 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1NdLvd-0006m4-U1>; Fri, 05 Feb 2010 12:00:49 +0100 Message-ID: <4B6BFABA.8090102@zedat.fu-berlin.de> Date: Fri, 05 Feb 2010 11:02:18 +0000 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100127 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: samba34 fails building on FreeBSD 8.0-STABLE: Compiling lib/memcache.c, lib/memcache.c:29: error: expected specifier-qualifier-list before 'uint8' X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2010 11:00:51 -0000 Trying to compile SAMAB 3.4 on FreeBSD 8.0/amd64 STABLE ends up in the following error and it seems a bit sticky. Are there any solutions? Thanks, Regards, Oliver ===> Building for samba34-3.4.5 cd /usr/ports/net/samba34/work/samba-3.4.5/source3 && make pch rm -f /usr/ports/net/samba34/work/samba-3.4.5/source3/include/includes.h.gch make /usr/ports/net/samba34/work/samba-3.4.5/source3/include/includes.h.gch cc -O2 -pipe -march=nocona -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -I. -I/usr/ports/net/samba34/work/samba-3.4.5/source3 - /usr/ports/net/samba34/work/samba-3.4.5/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I/usr/local/include -I./../l b/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/r place -I/usr/local/include -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_D PRECATED -I/usr/ports/net/samba34/work/samba-3.4.5/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c /usr/p rts/net/samba34/work/samba-3.4.5/source3/include/includes.h -o /usr/ports/net/samba34/work/samba-3.4.5/source3/include/includes.h.gch Using CFLAGS = -O2 -pipe -march=nocona -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -I. -I/usr/ports/net/samba34/work/samba-3 4.5/source3 -I/usr/ports/net/samba34/work/samba-3.4.5/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I/usr/local/inclu e -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include -I. -I. I./../lib/replace -I/usr/local/include -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/incl de -DLDAP_DEPRECATED -I/usr/ports/net/samba34/work/samba-3.4.5/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC -DPIC LIBS = -lexecinfo -liconv LDFLAGS = -pie -Wl,-z,relro -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L./bin -L/usr/local/lib DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-z,relro -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -L./bin -L/usr/local/lib SHLIBEXT = so SONAMEFLAG = -Wl,-soname, Compiling lib/memcache.c lib/memcache.c:29: error: expected specifier-qualifier-list before 'uint8' lib/memcache.c:33: error: redefinition of 'struct memcache' lib/memcache.c:41: error: expected declaration specifiers or '...' before 'DATA_BLOB' lib/memcache.c:41: error: expected declaration specifiers or '...' before 'DATA_BLOB' lib/memcache.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'memcache_is_talloc' lib/memcache.c:71: error: expected ')' before '*' token lib/memcache.c: In function 'memcache_node2elem': lib/memcache.c:93: error: expected expression before 'struct' lib/memcache.c: At top level: lib/memcache.c:97: error: expected declaration specifiers or '...' before 'DATA_BLOB' lib/memcache.c:97: error: expected declaration specifiers or '...' before 'DATA_BLOB' lib/memcache.c: In function 'memcache_element_parse': lib/memcache.c:99: error: 'key' undeclared (first use in this function) lib/memcache.c:99: error: (Each undeclared identifier is reported only once lib/memcache.c:99: error: for each function it appears in.) lib/memcache.c:99: error: 'uint8' undeclared (first use in this function) lib/memcache.c:99: error: expected expression before ')' token lib/memcache.c:99: error: expected expression before 'struct' lib/memcache.c:101: error: 'value' undeclared (first use in this function) lib/memcache.c: At top level: lib/memcache.c:111: error: expected declaration specifiers or '...' before 'DATA_BLOB' lib/memcache.c:111: warning: 'enum memcache_number' declared inside parameter list lib/memcache.c:111: warning: its scope is only this definition or declaration, which is probably not what you want lib/memcache.c:110: error: parameter 2 ('n') has incomplete type lib/memcache.c: In function 'memcache_compare': lib/memcache.c:113: error: 'DATA_BLOB' undeclared (first use in this function) [...] lib/memcache.c: At top level: lib/memcache.c:343: error: expected declaration specifiers or '...' before 'DATA_BLOB' lib/memcache.c:343: warning: 'enum memcache_number' declared inside parameter list lib/memcache.c:342: error: parameter 2 ('n') has incomplete type lib/memcache.c: In function 'memcache_add_talloc': lib/memcache.c:355: warning: assignment makes pointer from integer without a cast lib/memcache.c:356: error: 'key' undeclared (first use in this function) lib/memcache.c:356: error: type of formal parameter 2 is incomplete lib/memcache.c:356: error: too many arguments to function 'memcache_add' lib/memcache.c: At top level: lib/memcache.c:359: warning: 'enum memcache_number' declared inside parameter list lib/memcache.c:359: error: parameter 2 ('n') has incomplete type lib/memcache.c: In function 'memcache_flush': lib/memcache.c:383: error: 'true' undeclared (first use in this function) lib/memcache.c:387: error: 'struct memcache_element' has no member named 'n' lib/memcache.c:391: error: 'struct memcache_element' has no member named 'n' lib/memcache.c:419: error: 'struct memcache_element' has no member named 'n' lib/memcache.c:429: error: 'struct memcache_element' has no member named 'n' The following command failed: cc -O2 -pipe -march=nocona -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -I. -I/usr/ports/net/samba34/work/samba-3.4.5/source3 -I/usr/ports/net/samba34/work/samba-3.4.5/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I/usr/local/include -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/replace -I/usr/local/include -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba34/work/samba-3.4.5/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c lib/memcache.c -o lib/memcache.o gmake: *** [lib/memcache.o] Error 1 *** Error code 1 Stop in /usr/ports/net/samba34. *** Error code 1 Stop in /usr/ports/net/samba34.