Date: Tue, 10 Oct 2006 09:23:02 GMT From: Jacky Malcles<Jacky.Malcles@bull.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/104252: unable to compile with linux on ia64 Message-ID: <200610100923.k9A9N2JO083291@www.freebsd.org> Resent-Message-ID: <200610100930.k9A9UI8j005395@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610100923.k9A9N2JO083291>