From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 10 09:30:19 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E92BE16A417 for ; Tue, 10 Oct 2006 09:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FA3D43D64 for ; Tue, 10 Oct 2006 09:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9A9UIfD005396 for ; Tue, 10 Oct 2006 09:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9A9UI8j005395; Tue, 10 Oct 2006 09:30:18 GMT (envelope-from gnats) Resent-Date: Tue, 10 Oct 2006 09:30:18 GMT Resent-Message-Id: <200610100930.k9A9UI8j005395@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jacky Malcles Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9339C16A40F for ; Tue, 10 Oct 2006 09:23:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29A6A43D64 for ; Tue, 10 Oct 2006 09:23:05 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k9A9N2OX083293 for ; Tue, 10 Oct 2006 09:23:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k9A9N2JO083291; Tue, 10 Oct 2006 09:23:02 GMT (envelope-from nobody) Message-Id: <200610100923.k9A9N2JO083291@www.freebsd.org> Date: Tue, 10 Oct 2006 09:23:02 GMT From: Jacky Malcles To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/104252: unable to compile with linux on ia64 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 09:30:20 -0000 >Number: 104252 >Category: misc >Synopsis: unable to compile with linux on ia64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 10 09:30:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jacky Malcles >Release: * $FreeBSD: /repoman/r/ncvs/src/tools/regression/fsx/fsx.c,v 1.4 2006/08/04 21:45:08 jb Exp $ >Organization: bull >Environment: Linux 2.6.12-64k #1 SMP Thu Jun 15 12:24:38 CEST 2006 ia64 ia64 ia64 GNU/Linux >Description: # make fsx cc fsx.c -o fsx fsx.c: In function `check_eofpage': fsx.c:478: error: `uintptr_t' undeclared (first use in this function) fsx.c:478: error: (Each undeclared identifier is reported only once fsx.c:478: error: for each function it appears in.) fsx.c:478: error: syntax error before "last_page" fsx.c:488: error: `last_page' undeclared (first use in this function) fsx.c:488: error: syntax error before "p" fsx.c:488: error: syntax error before ')' token fsx.c:490: error: `should_be_zero' undeclared (first use in this function) make: *** [fsx] Error 1 # >How-To-Repeat: compiling >Fix: # diff -ru fsx.c.ori fsx.c --- fsx.c.ori 2006-10-10 11:24:37.000000000 +0200 +++ fsx.c 2006-10-10 11:25:24.000000000 +0200 @@ -60,6 +60,7 @@ #include #include #include +#include #include #define NUMPRINTCOLUMNS 32 /* # columns of data to print on each line */ # >Release-Note: >Audit-Trail: >Unformatted: