Fwd: Re: Compilation issue on HPUX

2013-11-26 Thread Niels Baggesen
Den 25-11-2013 20:56, Felipe Souza skrev:
 Hi Niels,

 Thanks for your reply.

Please keep the list CC'ed too

 checking for gcc... gcc
 checking whether the C compiler works... no
 configure: error: in `/tmp/net-snmp-5.7.2':
 configure: error: C compiler cannot create executables

What does it say in config.log?

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Compilation issue on HPUX

2013-11-26 Thread Niels Baggesen
Den 26-11-2013 11:45, Felipe Souza skrev:
 Hi Niels..

 the config.log is attached.

Did you try to look into config.log yourself?

configure:6571: checking for gcc
configure:6587: found /usr/local/bin/gcc
configure:6598: result: gcc
configure:6827: checking for C compiler version
configure:6836: gcc --version 5
/usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code)  from gcc
./configure[6838]: 15518 Abort(coredump)
configure:6847: $? = 134

How did you install that gcc? It does not seem to match your system!

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Compilation issue on HPUX

2013-11-26 Thread Niels Baggesen
Den 26-11-2013 12:30, Felipe Souza skrev:
 weird.. I had installed gcc using depot file for HP PA-RISC.

 gcc depot:
 gcc-4.2.3-hppa-11.31.depot

 depencies depot:
 libgcc-4.2.3-hppa-11.31.depot
 zlib-1.2.8-hppa-11.31.depot

 # swlist |grep -i gcc
gcc   4.2.3  gcc
libgcc4.2.3  libgcc

Something is certainly amiss with that gcc installation, and not being 
an HP-UX man I cannot help you there.

Any HP-UX admins lurking around?

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Compilation issue on HPUX

2013-11-18 Thread Niels Baggesen
Den 07-11-2013 18:41, Felipe Souza skrev:
 Hello experts..

 There is an issue over a compilation on HPUX.
 Could someone help me please?

 # uname -a
 HP-UX isxu310 B.11.31 U 9000/800 3832670166 unlimited-user license


 thanks in advance

 Felipe

 ==

 # ./configure
[snip]
 checking for gcc... no
 checking for cc... cc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out

It seems that configure just finds the bundled compiler. It is only 
meant to be used when reconfiguring the kernel, not to compile real 
programs.

You should install a real compiler, either gcc or HP's aCC compiler.

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders