Hi Guna,

Always send emails to tipc-discussion, instead of addressing individuals.

For your specific problem, set the CFLAGS before issuing configure as:

./bootstrap
CFLAGS=-I/root/rpmbuild/BUILD/linux-4.4/usr/include ./configure 


regards
Partha

On 04/26/2016 06:20 PM, GUNA wrote:
> Hi,
>
> I tried to use the latest tipcutils and compiled against my new kernel tree
> (4.4.0) as following:
>
> git clone git://tipc.git.sourceforge.net/gitroot/tipc/tipcutils
> cd tipc-tipcutils
> ./bootstrap
> ./configure CFLAGS=-I /root/rpmbuild/BUILD/linux-4.4/usr/include
> make   << == error as follows
>
> tipcutils]# make
> make: *** No targets specified and no makefile found.  Stop.
>
> My target is switch where kernel 4.4.0 is running. I am compiling on
> another server where 3.4.2 kernel is running. Why the "make" is failed and
> what target do I need to specify? I don't want to install any on compiler.
> The result that I need to ftp to the switch for testing.
>
> Here are some logs from config.log:
>
> gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)
> configure:3168: $? = 0
> configure:3157: /usr/bin/gcc -V >&5
> gcc: error: unrecognized option '-V'
> gcc: fatal error: no input files
> compilation terminated.
> configure:3168: $? = 4
> configure:3157: /usr/bin/gcc -qversion >&5
> gcc: error: unrecognized option '-qversion'
> gcc: fatal error: no input files
> compilation terminated.
> configure:3168: $? = 4
> configure:3188: checking whether the C compiler works
> configure:3210: /usr/bin/gcc -I   conftest.c  >&5
> gcc: fatal error: no input files
>
> ...
> AR='/usr/bin/ar'
> AUTOCONF='${SHELL} /root/tipcutils_git_4.4.0/tipcutils/missing autoconf'
> AUTOHEADER='${SHELL} /root/tipcutils_git_4.4.0/tipcutils/missing autoheader'
> AUTOMAKE='${SHELL} /root/tipcutils_git_4.4.0/tipcutils/missing
> automake-1.13'
> AWK='gawk'
> CC='/usr/bin/gcc'
> CCDEPMODE='
>
>
> Thank you,
> Guna
>


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to