lkml.org 
[lkml]   [2012]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2/3] vmevent-test: No need for SDL library
panacea:~/src/linux/linux-vmevent/tools/testing/vmevent$ make
cc -O3 -g -std=gnu99 -Wcast-align -Wformat -Wformat-security
-Wformat-y2k -Wshadow -Winit-self -Wpacked -Wredundant-decls
-Wstrict-aliasing=3 -Wswitch-default -Wno-system-headers -Wundef
-Wwrite-strings -Wbad-function-cast -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wold-style-definition
-Wstrict-prototypes -Wdeclaration-after-statement -lSDL vmevent-test.c
-o vmevent-test
/usr/bin/ld: cannot find -lSDL
collect2: ld returned 1 exit status
make: *** [vmevent-test] Error 1

This patch fixes the issue.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
---
tools/testing/vmevent/Makefile | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/testing/vmevent/Makefile b/tools/testing/vmevent/Makefile
index 5b5505f..d14b5c9 100644
--- a/tools/testing/vmevent/Makefile
+++ b/tools/testing/vmevent/Makefile
@@ -20,7 +20,6 @@ WARNINGS += -Wstrict-prototypes
WARNINGS += -Wdeclaration-after-statement

CFLAGS = -O3 -g -std=gnu99 $(WARNINGS)
-LDFLAGS = -lSDL

PROGRAMS = vmevent-test

--
1.7.7.6


\
 
 \ /
  Last update: 2012-04-09 01:41    [W:0.122 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site