misc/104252: unable to compile with linux on ia64
Jacky Malcles
Jacky.Malcles at bull.net
Tue Oct 10 02:30:20 PDT 2006
>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:
More information about the freebsd-bugs
mailing list