1847113 Members
6314 Online
110263 Solutions
New Discussion

Gnu compiler problem

 
Jose Juan
Advisor

Gnu compiler problem

Hi all,

I??ve a problem. Someone did install GNU compiler in a HP-UX 11.00 and now cannot compiler kernel. I remove GNU of the machine, but now:
# mk_kernel -s /stand/build/system
Generating module: krm...
/usr/lib/dld.sl: Can't open shared library: /opt/TWWfsw/gcc302/lib/libbfd-2.11.2.sl
/usr/lib/dld.sl: No such file or directory
/usr/sbin/kmckintfc[17]: 26994 Abort(coredump)
*** Termination signal 139

Stop.
config: make did an exit(1)
#

Can you help me?

Thks in advance
2 REPLIES 2
H.Merijn Brand (procura
Honored Contributor

Re: Gnu compiler problem

# which cc

should be, or point to, the braindead bundled C compiler from HP which should do for (re)building the kernel. If it is (linked to) leftovers of GNU gcc, you're in trouble.

The bundled compiler is located in /usr/ccs, so /usr/bin/cc should be a (symbolic) link to /usr/ccs/bin/cc. Same for /usr/bin/ld which should be a symlink to /usr/ccs/bin/ld

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Steven E. Protter
Exalted Contributor

Re: Gnu compiler problem

I've corrected a similar error by restoring the system file to a prior backup and rebuilding the kernel.

Obviously you need to have a good idea what you did to the system since the backup as it will have to be done over again.

Did you install all the prerequisites for the compiler? Did you use depots or tarballs as your source?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com