X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.renta.net (mail.renta.net [203.25.238.7]) by lists.alpinelinux.org (Postfix) with ESMTP id 67352618EB4 for ; Mon, 3 Aug 2009 09:26:37 +0000 (UTC) Received: from [192.168.1.4] (60-240-81-28.static.tpgi.com.au [::ffff:60.240.81.28]) (AUTH: CRAM-MD5 markc@renta.net) by mail.renta.net with esmtp; Mon, 03 Aug 2009 19:26:35 +1000 id 0002A676.4A76AD4B.00002453 Message-ID: <4A76AD4A.4040700@renta.net> Date: Mon, 03 Aug 2009 19:26:34 +1000 From: Mark Constable User-Agent: Thunderbird 2.0.0.22 (X11/20090719) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: =?ISO-8859-1?Q?Timo_Ter=E4s?= CC: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Attempting x86_64 build References: <4A73EA4D.7030204@renta.net> <1249119848.19561.1282.camel@localhost.localdomain> <4A743B8E.4090309@renta.net> <4A745D80.6090005@iki.fi> <4A74B26C.9060708@renta.net> <4A7544F9.8030602@iki.fi> In-Reply-To: <4A7544F9.8030602@iki.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit After another 48 hours of hair pulling I managed to compile openssl then abuild and now apk-tools. root@br_x86_64 ~/main/apk-tools/apk-tools-2.0_pre17 make CC src/add.o CC src/apk.o CC src/archive.o src/archive.c:50: error: expected specifier-qualifier-list before 'uint16_t' src/archive.c: In function 'apk_tar_parse': src/archive.c:171: error: 'struct apk_tar_digest_info' has no member named 'size' src/archive.c:172: error: 'struct apk_tar_digest_info' has no member named 'size' src/archive.c:173: error: 'struct apk_tar_digest_info' has no member named 'digest' src/archive.c:173: error: 'struct apk_tar_digest_info' has no member named 'size' make[1]: *** [src/archive.o] Error 1 make: *** [src/] Error 2 Adding stdint.h to src/archive.c seemed to fix the above, also, this is a from apk-tools too (fwiw)... gcc -std=gnu99 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--as-needed -o tar buffer.o checkpoint.o compare.o create.o delete.o extract.o xheader.o incremen.o list.o misc.o names.o sparse.o suffix.o system.o tar.o transform.o update.o utf8.o ../lib/libtar.a /usr/lib/libintl.a /usr/lib/libc.so -Wl,-rpath -Wl,/usr/lib ../lib/libtar.a(utimens.o): In function `gl_futimens': utimens.c:(.text+0x6c): warning: the use of LEGACY `utimes' is discouraged, use `utime' ../lib/libtar.a(close-stream.o): In function `close_stream': close-stream.c:(.text+0x17): warning: This version of __fpending returns bytes remaining in buffer for both narrow and wide streams. glibc's version returns wide chars in buffer for the wide stream case. *** To get openssl to compile I resorted to adding the missing ftime() (a googled hack, not the real thing) directly to apps/speed.c... int ftime(struct timeb *tp) { time_t fix; time(&fix); tp->time=fix; tp->millitm=tp->timezone=tp->dstflag=0; return 0; } *** Now, I'm still getting some segfaults but it seems I can start to use the apk/abuild tools to *start* installing some packages. A question though is what should be the first most important, say, 2 dozen packages and in what order should I try to build them? --markc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---