[lazarus] Linker Problem? Has anyone else seen this problem!

Payne Thomas E CNIN payne_t at crane.navy.mil
Tue May 11 15:17:07 EDT 1999


I'm the guy with the problem.

I would like a copy of a working ppc386.cfg.   I tried to use ./samplecfg
but it seems I did not get it right.

I also looked at ppas.sh and the link.res files.  Are they generated during
the build from the ppc386.cfg file?

The -lXi appears in link.res as shown below.

ppas.sh listing
-------------------------------------------
#!/bin/bash
DoExitAsm ()
{ echo "An error occurred while assembling $1"; exit 1; }
DoExitLink ()
{ echo "An error occurred while linking $1"; exit 1; }
echo Linking lazarus
/usr/bin/ld -dynamic-linker=/lib/ld-linux.so.2  -s -o lazarus link.res
if [ $? != 0 ]; then DoExitLink lazarus; fi
--------------------------------------------
link.res listing
--------------------------------------------
SEARCH_DIR(/lib)
SEARCH_DIR(/usr/lib)
SEARCH_DIR(/usr/lib/X11)
SEARCH_DIR(/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/)
SEARCH_DIR(/usr/lib/fpc/0.99.11/rtl/)
SEARCH_DIR(/usr/lib/fpc/0.99.11/units/)
INPUT(
/usr/lib/fpc/0.99.11/rtl/cprt21.o
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/crtbegin.o
/usr/lib/crti.o
/usr/lib/fpc/0.99.11/units/classes.o
/usr/lib/fpc/0.99.11/rtl/strings.o
/usr/lib/fpc/0.99.11/rtl/linux.o
/usr/lib/fpc/0.99.11/rtl/sysutils.o
/usr/lib/fpc/0.99.11/units/gtk.o
/usr/lib/fpc/0.99.11/units/gdk.o
/usr/lib/fpc/0.99.11/rtl/objpas.o
/usr/lib/fpc/0.99.11/units/glib.o
/usr/lib/fpc/0.99.11/rtl/syslinux.o
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/crtend.o
/usr/lib/crtn.o
-lXi      <----------------------------------------------------------here
-lXext
-lX11
-lm
-lgtk
-lgdk
-lglib
-lc
)
GROUP(
libproject.a
libspin.a
libmenus.a
libbuttons.a
libcompiler.a
libglobal.a
libcomctrls.a
libgraphics.a
libstdcontrols.a
libdialogs.a
libeditor.a
libmain.a
libcontrols.a
libforms.a
libapplication.a
liblazarus.a
)
----------------------------------------------

Tom Payne

> -----Original Message-----
> From:	Peter Vreman [SMTP:pfv at cooldown.demon.nl]
> Sent:	Tuesday, May 11, 1999 1:57 PM
> To:	lazarus at miraclec.com
> Subject:	Re: [lazarus] Linker Problem?  Has anyone else seen this
> problem!
> 
> > That's a path problem in ppc386.cfg
> > 
> > Are you sure the -lXi isn't supposed to be -X11
> > 
> > If it's X11 then the path should point to /usr/X11R6/lib or something
> like that
> Fixed the Makefile. I can't test it because the updated lazarus sources
> are not in the cvs
> 
> 
> Peter
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list