In article < Pine.LNX.3.96.991113073323.4751A-100000@mpqpc63.mpq.mpg.de >, Gerhard Heinzel wrote: > On Fri, 12 Nov 1999, Ulrich-W. Kaestner wrote: > > > I use the gnu compiler egcs 2.91.60 > > During linking with the following command ... > > > > gcc my.o -bI:$TOFF_SOURCE/MEMPISHR.exp -lbsd > > > > ... I get the following error message: > > > > ld: 0706-005 Cannot find or open file: libgcc.a > > ld:open(): A file or directory in the path name > > does not exist. > > > > Several versions of the named file exist in the filesystem ! Do I have > > to define some environment variables (additional to the > > smit-installation of the compiler) ? > > I had the same problem and it turned out that > "make install" set some permissions wrongly, > i.e. directories and library files were owned by "root" > and not readable for anyone else. > After fixing the permissions it worked fine. > > Good Luck, > > Gerhard Gerhard, thanks a lot for your hints ! I checked the file permissions. World has read-access, so there must be an other problem. I copied the file /usr/local/lib/gcc-lib/.../libgcc.a to /lib. Now the error message doesn´t appear any longer. I´ll test tomorrow, if the code works correctly. Thanks again, Ulrich Sent via Deja.com http://www.deja.com/ Before you buy.