Path: news.daimi.aau.dk!not-for-mail From: Manmathan Muthukumarapillai Newsgroups: daimi.beta,daimi.dsa Subject: Problemer med RedHat 5 og andre glibc 2.x.x baserede Linux systemer Date: Thu, 14 May 1998 15:32:08 +0200 Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 140 Message-ID: <355AF258.5562DB41@mjolner.dk> NNTP-Posting-Host: fenris.mjolner.dk Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------71CD17947328F56CADF75B34" X-Mailer: Mozilla 4.05 [en] (X11; I; SunOS 5.6 sun4u) Xref: news.daimi.aau.dk daimi.beta:10344 daimi.dsa:10550 --------------71CD17947328F56CADF75B34 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 From bash: ---------- export BETALINKOPTIONS='-m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -dc -dp -Bstatic -X' From tcsh: ---------- setenv BETALINKOPTIONS '-m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -dc -dp -Bstatic -X' 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 --------------71CD17947328F56CADF75B34 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

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

 From bash:
 ----------
 export BETALINKOPTIONS='-m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -dc -dp -Bstatic -X'

 From tcsh:
 ----------
 setenv BETALINKOPTIONS '-m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -dc -dp -Bstatic -X'
 

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

--------------71CD17947328F56CADF75B34--