4 Feb 2002 08:06
Re: compiling hslibs/xlib
Jens Petersen <petersen <at> redhat.com>
2002-02-04 07:06:06 GMT
2002-02-04 07:06:06 GMT
Jens Petersen <juhp <at> 01.246.ne.jp> writes: > "Julian Seward (Intl Vendor)" <v-julsew <at> microsoft.com> writes: > > > Precisely what version of gcc are you using here? > > (gcc -v) > > > > This has been known to happen if you use the default > > gcc on RedHat 6.1 and 6.2. > > Good question. Nothing so old, is the short answer I think. > > The ghc I'm using is from Manuel's ghc-5.02.2-1 rpm (built > on RH72 I believe) is probably with gcc-2.96. > > I am building green-card and xlib with gcc from cvs! > > gcc version 3.1 20020131 (Red Hat Linux Rawhide 3.1-0.20) > > Actually I wanted to build with gcc296, but it (rightly?) > doesn't seem to like "-o" and "-c" in the same command: Ok, scratch that! (I was doing "make CC=gcc296".) Seems it was a gcc-3.1 related problem.(Continue reading)When I make green-card and xlib correctly with gcc-2.96 using "ghc -pgmc/usr/bin/gcc296", everything goes through fine. Sorry for the trouble,

When I make green-card and xlib correctly with gcc-2.96
using "ghc -pgmc/usr/bin/gcc296", everything goes through
fine.
Sorry for the trouble,
I've downloaded rpm sources (RPMs for SuSE Linux 7.3 (i386,
glibc 2.2) from Ralf Hinze: base and docs RPM, and profiling
libraries RPM.) from the ghc site and installed them. The
only problem I had was that I had to re-install gmp using
rpm. So that was great.
When I tried to compile some large program I was delighted
to see that all object files got created smoothly.
At the linking stage I got an error:
''cannot find -lreadline
collect2: ld returned 1 exit status''
I couldn't find anything about this on the web or in the
mini faq.
Anybody there to give me a quick hint how to get around
this?
Regards,
Marc van Dongen
RSS Feed