1762918 Members
2143 Online
108909 Solutions
New Discussion юеВ

GCC dumping core

 
BalasubramanianN
Occasional Advisor

GCC dumping core

Hi all

Iam having problem in installing Hobbit client in HP-UX 11.23 PA Risc.As
per procedure i have installed gcc and gmake and giving following
error.Please guide me for installing it in HP-UX already i have sucessfully
installed in Linux and Solaris



Where do you want the Hobbit installation [/home/hobbit] ?

OK, will configure to use /home/hobbit as the Hobbit toplevel directory
root @ : /home/hobbit/hobbit-4.2.0/ >MAKE=gmake ./configure.client

Configuration script for Hobbit client

This script asks a few questions and builds a Makefile to compile Hobbit

Checking your make-utility

Hobbit normally keeps all of the client configuration files
on the Hobbit server. If you prefer, it is possible to use
a local client configuration file instead - if so, answer
'client' to the next question.
NB: Local configuration requires the PCRE libs on each host.

Server side client configuration, or client side [server] ?



Checking for Large File Support ...
ERROR: Compiler doesnt recognize the off_t C type.


What userid will be running Hobbit [hobbit] ?

ypmatch: the NIS domain name hasn't been set on this machine
Found passwd entry for user hobbit:x:156:20::/home/hobbit:/sbin/sh




What is the IP-address of your Hobbit server [127.0.0.1] ?
10.0.20.58



Using HP-UX Makefile settings



Created Makefile with the necessary information to build Hobbit
Some defaults are used, so do look at the Makefile before continuing.

Configuration complete - now run gmake (GNU make) to build the tools
root @ : /home/hobbit/hobbit-4.2.0>gmake
CC="gcc" CFLAGS="-g -O -D_REENTRANT -DHPUX -I. -I`pwd`/include
-DCLIENTONLY=1" LDFLAGS="" OSDEF="-DHPUX" RPATHOPT="" PCREINCDIR=""
SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lnsl" BBTOPDIR="/home/hobbit"
BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="10.0.20.58" BBHOSTOS=""
LOCALCLIENT="no" gmake -C lib client
gmake[1]: Entering directory `/home/hobbit/hobbit-4.2.0/hobbit-4.2.0/lib'
gcc -g -O -D_REENTRANT -DHPUX -I. -I/home/hobbit/hobbit-4.2.0
/hobbit-4.2.0/include -DCLIENTONLY=1 -I. -I../include -o test-endianness
test-endianness.c
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libiconv.sl
/usr/lib/dld.sl: No such file or directory
gmake[1]: *** [test-endianness] IOT trap (core dumped)
gmake[1]: Leaving directory `/home/hobbit/hobbit-4.2.0/hobbit-4.2.0/lib'
gmake: *** [lib-client] Error 2
root @ devsvr : /home/hobbit/hobbit-4.2.0/hobbit-4.2.0 >ll /usr/lib/dld.sl
-r-xr-xr-x 1 bin bin 253952 Jul 26 2005 /usr/lib/dld.sl
root @ devsvr : /home/hobbit/hobbit-4.2.0/hobbit-4.2.0 >ll
/usr/local/lib/libiconv.sl
/usr/local/lib/libiconv.sl not found
root @ devsvr : /home/hobbit/hobbit-4.2.0/hobbit-4.2.0 >

5 REPLIES 5
AwadheshPandey
Honored Contributor

Re: GCC dumping core

http://www.webservertalk.com/archive292-2005-9-1197612.html
It's kind of fun to do the impossible
BalasubramanianN
Occasional Advisor

Re: GCC dumping core

Hi all after installing libiconv depot iam facing the problem

The error i face is
root @ devsvr : /usr/local/share >gcc -v
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libintl.sl
/usr/lib/dld.sl: No such file or directory
Abort(coredump)


plz any one help its urgent
Dennis Handly
Acclaimed Contributor

Re: GCC dumping core

>after installing libiconv depot i am facing the problem
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libintl.sl

Have you installed all the runtime dependencies of gcc?
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.2.1/

It says it needs: gettext libiconv
BalasubramanianN
Occasional Advisor

Re: GCC dumping core

after installing gettext and libiconv the issue is solved and hobbit proving its worth
Dennis Handly
Acclaimed Contributor

Re: GCC dumping core

>the issue is solved

If our answers were helpful please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Basically assign points and close the thread.