[hipl-dev] Re: [Question #632907]: hipl makefile install error

  • From: "Juhani Toivonen" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "juhani.toivonen" for DMARC)
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Thu, 18 May 2017 08:28:05 +0200

Hi!

With a quick glance, it looks like your compiler is new enough that it issues 
warnings for unused parameters. The CFLAGS have a -Werror flag set, which tells 
make to treat all warnings as errors and stop the compile when encountered. Try 
adding -Wno-error=unused-parameter to CFLAGS and try again. I don't remember 
off the top of my head which configuration file has it, but a quick grep should 
help there.

- Juhani

On 18 May 2017, at 6.58, BaRom Kang <question632907@xxxxxxxxxxxxxxxxxxxxx> 
wrote:

New question #632907 on HIPL:
https://answers.launchpad.net/hipl/+question/632907

Hi, I am Korean Student wanting to use HIPL. 
so I installed following steps

1.  bzr checkout lp:hipl
2.  apt-get install autoconf automake libtool make gcc libssl-dev 
iptables-dev \
                 libnet-ip-perl libnet-dns-perl bzr
3. apt-get install xmlto doxygen check libconfig8-dev miredo
4. apt-get install fakeroot dpkg-dev debhelper devscripts

5. build hipl  --> this command    autoreconf --install
                                                             ./configure && 
make     in the installed hipl source tree (  /home/accl/hipl )

but fail to build hipl on this command :  ./configure && make

my error is 

libcore/builder.h:143:5: error: unused parameter 
‘hip_build_param_hip_transform’ [-Werror=unused-parameter]
int hip_build_param_hip_transform(struct hip_common *,
    ^
libcore/builder.c:1736:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute_ ’ before ‘{’ token
{
^
libcore/linkedlist.h:61:16: error: unused parameter ‘free_elem_fn’ 
[-Werror=unused-parameter]
typedef void (*free_elem_fn)(void *ptr);
               ^
In file included from libcore/state.h:42:0,
                from libcore/builder.h:43,
                from libcore/crypto.h:47,
                from libcore/builder.c:99:
..

I think that linker does not recognize hipl source tree header.

How do I get to solve this problem?? 

i want to install successfully T.T




-- 
You received this question notification because your team HIPL core team
is an answer contact for HIPL.



Other related posts: