Path: news.daimi.aau.dk!not-for-mail From: Manmathan Muthukumarapillai Newsgroups: daimi.beta,daimi.dsa Subject: Re: Problemer med RedHat 5 og andre glibc 2.x.x baserede Linux systemer Date: Thu, 14 May 1998 15:35:17 +0200 Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 96 Message-ID: <355AF315.8D9B410@mjolner.dk> References: <355AF258.5562DB41@mjolner.dk> NNTP-Posting-Host: fenris.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (X11; I; SunOS 5.6 sun4u) Xref: news.daimi.aau.dk daimi.beta:10345 daimi.dsa:10551 Manmathan Muthukumarapillai wrote: > > > Linking problem with RedHat 5 and other glibc 2.x.x based > Linux-systems > > ====================================================================== > > > > To avoid problem do the following 2 steps: > ------------------------------------------ > > 1) Create two emty objectfiles crtbegin.o and crtend.o and place it > inside /usr/lib/ > > You can do it in the following way > ----------------------------------- > > echo "manmathan1 () {}\n" > crtbegin.c > echo "manmathan2 () {}\n" > crtend.c > gcc -c crtbegin.c crtend.c > mv crtbegin.o crtend.o /usr/lib/ > > > 2) Set the eviroment variable BELALINKOPTIONS to: > -m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -dc -dp -Bstatic -X > VERY Sorry for the mistake!It should be: /lib/ld-linux.so.2 and not 1. > From bash: > ---------- > export BETALINKOPTIONS='-m elf_i386 -dynamic-linker > /lib/ld-linux.so.1 -dc -dp -Bstatic -X' > VERY Sorry for the mistake!It should be: /lib/ld-linux.so.2 and not 1. > From tcsh: > ---------- > setenv BETALINKOPTIONS '-m elf_i386 -dynamic-linker > /lib/ld-linux.so.1 -dc -dp -Bstatic -X' > > VERY Sorry for the mistake!It should be: /lib/ld-linux.so.2 and not 1. > Please report any errors to support@mjolner.dk > > > The next release of Mjolner System should work fine with the newer > C-libraries, > without any adjustments. > > > Sincerely, > > Manmathan Muthukumarapillai / Mjolner Informatics > > +++++++++++++++++++ BETA information Sources ++++++++++++++++++++++++ > + Mjolner Informatics | Phone: +45 8620 2000 + > + Science Park Aarhus | Direct: +45 8620 2011 local 2572 + > + Gustav Wieds Vej 10 | Fax: +45 8620 1222 + > + DK-8000, Aarhus C, Denmark | E-mail: info@mjolner.com + > + WWW : http://www.mjolner.com -and- http://www.daimi.aau.dk/~beta + > + FAQ : http://www.daimi.aau.dk/~beta/FAQ News: comp.lang.beta + > + News: comp.lang.beta + > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Manmathan Muthukumarapillai / Mjolner Informatics -- Manmathan Muthukumarapillai / Mjolner Informatics mannan@mjolner.dk --- * BETA information Sources * * * * Mjolner Informatic | Phone: +45 8620 2000 * * Science Park Aarhus | Direct: +45 8620 2011 local 2570 * * Gustav Wieds Vej 10 | Fax: +45 8620 1222 * * DK-8000, Aarhus C, Denmark | E-mail: info@mjolner.com * * WWW: http://www.mjolner.com -and- http://www.daimi.aau.dk/~beta * * FAQ: http://www.daimi.aau.dk/~beta/FAQ * * News: comp.lang.beta *