Re: compiling
Hi,
On Wed, 25 Oct 2000, T. Weyergraf wrote:
> Yes. Here's the breakdown of the more intereting option.
>
> -shared create a shared lib.
> -whole-archive use *all" objects in the following archive.
> -no-whole-archive the opposite to the above.
I found out that the same happened with libcxml and ran the same command
line in exchanging all libcpml stuff with libcxml. This one worked, too.
> Oh yes, adjust that. Also, don't forget to run the obvious ldconfig(8)
> after creating the new shared lib. You may strip(1) it first, for
> space-saving.
Which paths should be listed in the /etc/ld.so.conf? It had only entries
for 2 X11-libs. I typed in additional lines:
/lib
/usr/lib
/usr/lib/gcc-lib/alpha-linux/2.95.2
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
> > ld: cannot find -lgcc
> > make: *** [mb] Error 1
>
> That'a a support lib needed by GCC and friends. This looks like, you
> have not setup you CCC config-file correctly. Check the following
> file:
>
> /usr/lib/compaq/ccc-"your_version"alpha-linux/bin/comp.config
I had this file edited by hand.
> The path's in there should reflect your system. You can create this
> file, after you edited the script create-comp-config.sh to reflect
> your system. It's also in the above directory. This script is the
> setup-script for the Compaq compiler ( and typically run at rpm
> postinst, IIRC ).
After running that script, the error message still shows up, so I tried
to find the path to the directory, it added to the /etc/ld.so.conf file
and still got the error message. I couldn't find a *.so in the
directory, just a *.a. Might it be possible, that I have to run this
command line here as well to create a shared lib?
> If you have trouble setting up the compiler, let me know. It's a bit
> lengthly, but I can provide the setup for you.
Thank you for your help, as usual one learns a lot from this.
Regards,
Kerstin
--
kerstin.hoef-emden@uni-koeln.de
Reply to: