tools: usb: ffs-test: Fix build failure
PATCH 1/1 tools: usb: ffs-test: Fix build failure
From: "Maxin B. John" <[email protected]>
Fixes this build failure:
gcc -Wall -Wextra -g -lpthread -I../include -o testusb testusb.c gcc -Wall -Wextra -g -lpthread -I../include -o ffs-test ffs-test.c In file included from ffs-test.c:41:0:../../include/linux/usb/functionfs.h:4:39: fatal error:uapi/linux/usb/functionfs.h: No such file or directory compilation terminated.
make: *** [ffs-test] Error 1
--- tools/usb/ffs-test.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/usb/ffs-test.c +1 -1
@@ -38,7 +38,7 @@#include <unistd.h> #include <tools/le_byteshift.h> -#include "../../include/linux/usb/functionfs.h" +#include "../../include/uapi/linux/usb/functionfs.h" /******************** Little Endian Handling ********************************/
Signature · 1 line
1.7.7
Greg KH
maintainerQuoted 10 lines · On Thu, Feb 21, 2013 at 01:57:51AM +0200, [email protected] wrote:
From: "Maxin B. John" <[email protected]>
Fixes this build failure:
gcc -Wall -Wextra -g -lpthread -I../include -o testusbtestusb.cgcc -Wall -Wextra -g -lpthread -I../include -o ffs-testffs-test.cIn file included from ffs-test.c:41:0:../../include/linux/usb/functionfs.h:4:39: fatal error:uapi/linux/usb/functionfs.h: No such file or directory compilation terminated.
make: *** [ffs-test] Error 1
This is a build failure where, 3.8, or linux-next, or somewhere else?
thanks,
greg k-h
Hi,
Quoted 12 lines · Greg KH
Quoted 10 lines · On Thu, Feb 21, 2013 at 01:57:51AM +0200, [email protected] wrote:
From: "Maxin B. John" <[email protected]>
Fixes this build failure:
gcc -Wall -Wextra -g -lpthread -I../include -o testusbtestusb.cgcc -Wall -Wextra -g -lpthread -I../include -o ffs-testffs-test.cIn file included from ffs-test.c:41:0:../../include/linux/usb/functionfs.h:4:39: fatal error:uapi/linux/usb/functionfs.h: No such file or directory compilation terminated.
make: *** [ffs-test] Error 1
Quoted 1 line
This is a build failure where, 3.8, or linux-next, or somewhere else?
It is in 3.8
Quoted 3 lines
thanks,
greg k-h
Best Regards,
Maxin
Quoted 15 lines · Maxin B. John
Hi,
Quoted 12 lines · Greg KH
Quoted 10 lines · On Thu, Feb 21, 2013 at 01:57:51AM +0200, [email protected] wrote:
From: "Maxin B. John" <[email protected]>
Fixes this build failure:
gcc -Wall -Wextra -g -lpthread -I../include -o testusbtestusb.cgcc -Wall -Wextra -g -lpthread -I../include -o ffs-testffs-test.cIn file included from ffs-test.c:41:0:../../include/linux/usb/functionfs.h:4:39: fatal error:uapi/linux/usb/functionfs.h: No such file or directory compilation terminated.
make: *** [ffs-test] Error 1
Quoted 3 lines
Quoted 1 line
This is a build failure where, 3.8, or linux-next, or somewhere else?
It is in 3.8
This also happens in 3.7. [commit 5e1ddb481776a487b15b40579a000b279ce527c9: UAPI: (Scripted) Disintegrate include/linux/usb] is the culprit.
Signature · 4 lines
Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +----<email/xmpp: [email protected]>--------------ooO--(_)--Ooo--
Quoted 11 lines · On Thu, Feb 21 2013, [email protected] wrote:
From: "Maxin B. John" <[email protected]>
Fixes this build failure:
gcc -Wall -Wextra -g -lpthread -I../include -o testusbtestusb.cgcc -Wall -Wextra -g -lpthread -I../include -o ffs-testffs-test.cIn file included from ffs-test.c:41:0:../../include/linux/usb/functionfs.h:4:39: fatal error:uapi/linux/usb/functionfs.h: No such file or directory compilation terminated.
make: *** [ffs-test] Error 1
Quoted 1 line
Signed-off-by Maxin B. John <[email protected]>
Quoted 20 lines
--- tools/usb/ffs-test.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)tools/usb/ffs-test.c +1
-1@@ -38,7 +38,7 @@#include <unistd.h> #include <tools/le_byteshift.h> -#include "../../include/linux/usb/functionfs.h" +#include "../../include/uapi/linux/usb/functionfs.h" /******************** Little Endian Handling ********************************/ Signature · 1 line
1.7.7
Signature · 4 lines
Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +----<email/xmpp: [email protected]>--------------ooO--(_)--Ooo--