public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* Re: [LTP] GCC_WARN_OLDSTYLE build error
       [not found] <CAHTgTXWCNZzL+6ptrMgwR5d2UA4dcSka_C=off87axRqsgbm1Q@mail.gmail.com>
@ 2014-07-15 18:54 ` chrubis
       [not found]   ` <CAHTgTXVrf6yFoD7_tPmJSO1CZFsx19DyA-stfYTqujpBUUF0sQ@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: chrubis @ 2014-07-15 18:54 UTC (permalink / raw)
  To: Vinson Lee; +Cc: ltp-list

Hi!
> This commit introduces a build error on CentOS 6 for me.
> 
> commit edbae29d774e30967bee74463ad505ff9a81f87d
> Author: Cyril Hrubis <chrubis@suse.cz>
> Date:   Tue Jul 15 14:57:27 2014 +0200
> 
>     configure.ac: Add AC_CONFIG_MACRO_DIR
> 
>     Otherwise macros in m4 directory are not found on autoreconf
> 
>     Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> 
> 
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -W
> @GCC_WARN_OLDSTYLE@ -I.  -I../include -I../include -I../include
> -I../include  -c -o bytes_by_prefix.o bytes_by_prefix.c
> gcc: @GCC_WARN_OLDSTYLE@: No such file or directory

That looks like the variable from config.mk.in wasn't substitued
correctly.

Does it work when you readd the -I m4 to the automake.mk that this patch
has removed?

Does the 'make autotools' print any warnings for AC_CONFIG_MACRO_DIR?

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LTP] GCC_WARN_OLDSTYLE build error
       [not found]   ` <CAHTgTXVrf6yFoD7_tPmJSO1CZFsx19DyA-stfYTqujpBUUF0sQ@mail.gmail.com>
@ 2014-07-21  7:27     ` chrubis
  0 siblings, 0 replies; 2+ messages in thread
From: chrubis @ 2014-07-21  7:27 UTC (permalink / raw)
  To: Vinson Lee; +Cc: ltp-list

Hi!
> > That looks like the variable from config.mk.in wasn't substitued
> > correctly.
> >
> > Does it work when you readd the -I m4 to the automake.mk that this patch
> > has removed?
> >
> > Does the 'make autotools' print any warnings for AC_CONFIG_MACRO_DIR?
> >
> > --
> > Cyril Hrubis
> > chrubis@suse.cz
> 
> 'make autotools' does not print any warnings.
> 
> The build passes if I readd '-I m4' to automake.mk.

I've pushed a patch that readds it to the automake.mk, the problem is
that AC_CONFIG_MACRO_DIR() was broken and works only in recent enough
autotools. See the reply to Joseph for more information.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-21  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHTgTXWCNZzL+6ptrMgwR5d2UA4dcSka_C=off87axRqsgbm1Q@mail.gmail.com>
2014-07-15 18:54 ` [LTP] GCC_WARN_OLDSTYLE build error chrubis
     [not found]   ` <CAHTgTXVrf6yFoD7_tPmJSO1CZFsx19DyA-stfYTqujpBUUF0sQ@mail.gmail.com>
2014-07-21  7:27     ` chrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox