From nobody@FreeBSD.org  Tue Oct 10 09:23:05 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9339C16A40F
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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<Jacky.Malcles@bull.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: unable to compile  with linux on ia64
X-Send-Pr-Version: www-3.0

>Number:         104252
>Category:       ia64
>Synopsis:       unable to compile fsx from regression tests with linux on ia64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ia64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 10 09:30:17 GMT 2006
>Closed-Date:    Fri Oct 13 05:27:03 GMT 2006
>Last-Modified:  Fri Oct 13 05:27:03 GMT 2006
>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 <string.h>
 #include <unistd.h>
 #include <stdarg.h>
+#include <stdint.h>
 #include <errno.h>
 
 #define NUMPRINTCOLUMNS 32     /* # columns of data to print on each line */
#

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ia64 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Oct 10 13:31:53 UTC 2006 
Responsible-Changed-Why:  
Sounds ia64-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104252 
State-Changed-From-To: open->closed 
State-Changed-By: marcel 
State-Changed-When: Fri Oct 13 05:20:56 UTC 2006 
State-Changed-Why:  
This bug is neither ia64 specific, nor related to FreeBSD. Compilation 
of FreeBSD code on Linux is beyond the scope of the FreeBSD project. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=104252 
>Unformatted:
