* [PATCH] current btrfs-progs-unstable fails to compile
@ 2010-06-18 20:49 Bernhard Rosenkraenzer
0 siblings, 0 replies; only message in thread
From: Bernhard Rosenkraenzer @ 2010-06-18 20:49 UTC (permalink / raw)
To: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 738 bytes --]
Hi,
current btrfs-progs-unstable fails to compile for me (Ark Linux devel
branch, using gcc 4.5 and eglibc 2.12):
/usr/bin/ld: btrfsck.o: in function maybe_free_inode_rec:btrfsck.c:323:
error: undefined reference to 'S_ISDIR'
/usr/bin/ld: btrfsck.o: in function maybe_free_inode_rec:btrfsck.c:340:
error: undefined reference to 'S_ISREG'
/usr/bin/ld: btrfsck.o: in function maybe_free_inode_rec:btrfsck.c:328:
error: undefined reference to 'S_ISREG'
/usr/bin/ld: btrfsck.o: in function maybe_free_inode_rec:btrfsck.c:340:
error: undefined reference to 'S_ISLNK'
/usr/bin/ld: btrfsck.o: in function maybe_free_inode_rec:btrfsck.c:328:
error: undefined reference to 'S_ISLNK'
collect2: ld returned 1 exit status
Patch attached.
ttyl
bero
[-- Attachment #2: btrfsck-compile.patch --]
[-- Type: text/x-c, Size: 300 bytes --]
--- btrfs-progs-unstable/btrfsck.c.ark 2010-06-18 22:52:52.592535586 +0200
+++ btrfs-progs-unstable/btrfsck.c 2010-06-18 22:52:59.540417164 +0200
@@ -18,6 +18,7 @@
#define _XOPEN_SOURCE 500
#define _GNU_SOURCE 1
+#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-18 20:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-18 20:49 [PATCH] current btrfs-progs-unstable fails to compile Bernhard Rosenkraenzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).