Re: [PATCH] tools/thermal: tmon: fix compilation errors when building statically

2014-06-30 Thread Zhang Rui
On Tue, 2014-06-10 at 16:16 +0100, Javi Merino wrote: > Hi Rui, > > On Mon, Jun 02, 2014 at 12:54:57PM +0100, Jacob Pan wrote: > > On Mon, 2 Jun 2014 18:08:17 +0100 > > "Javi Merino" wrote: > > > > > tmon fails to build statically with the following error: > > > > > > $ make LDFLAGS=-static >

Re: [PATCH] tools/thermal: tmon: fix compilation errors when building statically

2014-06-10 Thread Javi Merino
Hi Rui, On Mon, Jun 02, 2014 at 12:54:57PM +0100, Jacob Pan wrote: > On Mon, 2 Jun 2014 18:08:17 +0100 > "Javi Merino" wrote: > > > tmon fails to build statically with the following error: > > > > $ make LDFLAGS=-static > > gcc -O1 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration > >

Re: [PATCH] tools/thermal: tmon: fix compilation errors when building statically

2014-06-02 Thread Jacob Pan
On Mon, 2 Jun 2014 18:08:17 +0100 "Javi Merino" wrote: > tmon fails to build statically with the following error: > > $ make LDFLAGS=-static > gcc -O1 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration > -Wimplicit-int -fstack-protector -D VERSION=\"1.0\" -static tmon.o > tui.o sysfs.o

[PATCH] tools/thermal: tmon: fix compilation errors when building statically

2014-06-02 Thread Javi Merino
tmon fails to build statically with the following error: $ make LDFLAGS=-static gcc -O1 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int -fstack-protector -D VERSION=\"1.0\" -static tmon.o tui.o sysfs.o pid.o -o tmon -lm -lpanel -lncursesw -lpthread tmon.o: In functio