On Wed, 17 May 2006 13:26:47 -0700
johnf <[EMAIL PROTECTED]> wrote:

> On Wednesday 17 May 2006 12:53, Mattias Gaertner wrote:
> > On Wed, 17 May 2006 11:55:48 -0700
> >
> > johnf <[EMAIL PROTECTED]> wrote:
> > > On Wednesday 17 May 2006 11:31, Mattias Gaertner wrote:
> > > > On Wed, 17 May 2006 20:20:56 +0200
> > > >
> > > > Den Jean <[EMAIL PROTECTED]> wrote:
> > > > > On Wednesday 17 May 2006 20:08, johnf wrote:
> > > > > > What is next?
> > > > >
> > > > > I had the same error due to a fpc.cfg containing
> > > > > -Fu/usr/lib/fpc/2.0.0/units/$fpctarget
> > > > > -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/*
> > > > > -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/rtl
> > > > > instead of
> > > > > -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
> > > > > -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
> > > > > -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
> > > > > when compiling with a fpc > 2.0.0.
> > > > >
> > > > > The paths are different on Suse, but the
> > > > > problem may be similar
> > > >
> > > > The above are only unit paths. Then the error would be cannot find
> > > > unit.
> > > >
> > > > If there is a linker error the compiler leaves the link.res file.
> > > > Please have a look and see if the path to libgdk.so is there.
> > > >
> > > > Mattias
> > >
> > > Where might the link.res be created?
> >
> > If you compiled lazarus, then in the main directory.
> > If you compiled one of your projects, then in the project directory.
> >
> > Mattias
> The 4 line has 'SEARCH_DIR(/opt/gnome/lib)'
> 
> See attached link.res and a list of lib's from /opt/gnome/lib

So, the path is given to ld, and the file is there. But ld still can't find
it.
Please add the linker option --verbose (Project > Compiler Options > Linking
> Options). 
This gives a lot of output. Save the messages to a file (Right click on the
message window > Save all messages to file). Search for gdk in the file.


Mattias
 

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to