You are not logged in.

#1 2012-06-13 20:57:40

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

echoing in a makefile

Some makefile print only terse output when executed, like:

CC      common/fifo.o
CC      common/capture.o
CC      common/event.o
CC      common/tv-config.o

What cause this and how can I disable this feature to reenable full echoing of the commands launched by make. I am sure this is obvious but I am unable to find it on the web (no .SILENT in the makefile, no rules beginning with @).

The reason I ask this is that I came accross an AUR package that do not compile (xawtv-snapshot) and that had this feature turned on. I need to be able to read the full command that "make" launches in order to figure out the problem.

Last edited by olive (2012-06-13 20:58:46)

Offline

#2 2012-06-13 22:38:56

Bellum
Member
Registered: 2011-08-24
Posts: 230

Re: echoing in a makefile

Pretty sure that's cmake. Try setting VERBOSE=1.

Offline

#3 2012-06-13 22:46:34

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: echoing in a makefile

Offline

#4 2012-06-14 08:05:53

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: echoing in a makefile

falconindy wrote:

While this make sense, In the particular package I have nothing of this struff works. The package is xawtv-snapshot in the AUR. I tried passing the --disable-silent-rules as a configure option and it complain it is unrecognised. I try to

 make V=1 

and it has no effect. probably this is hard coded and not generated by autoconf, but I do not know how.

Offline

#5 2012-06-14 10:39:33

Bellum
Member
Registered: 2011-08-24
Posts: 230

Re: echoing in a makefile

IDK much about automake, but I downloaded the source package and

grep -lri am_silent *

returns nothing.

...batman music...

Tried a couple things, but I can't really figure this out. ^_^

However, for me, this is what is causing make to fail.

/usr/bin/ld: console/v4l-conf.o: undefined reference to symbol 'XOpenDisplay'
/usr/bin/ld: note: 'XOpenDisplay' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [console/v4l-conf] Error 1

Seems to be enough information for further investigation? Try

grep -lr v4l-conf.o *

to find out where the rules for building v4l-conf.o are (returns console/Subdir.mk and mk/console_v4l-conf.dep). Looks like it needs an -lX11 somewhere?

Offline

#6 2012-06-14 18:45:36

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: echoing in a makefile

I have just

 export LDFLAGS='-lX11 -lXext' 

before the configure script and it compiles. This fix my particular problem but if somebody know, I would be happy to know the answer of the original question (switching echoing on) for the next time. I have inded extensively played with grep without any results.

Last edited by olive (2012-06-14 18:54:30)

Offline

Board footer

Powered by FluxBB