I am hoping to have a working 1.2.1 version working soon so I'll send it over in a bit.…
thanx buddy /.
Cliff

Mailing lists / lazarus / 1999-05
9 messages · 5 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
I am hoping to have a working 1.2.1 version working soon so I'll send it over in a bit.…
thanx buddy /.
Cliff
That's a path problem in ppc386.cfg Are you sure the -lXi isn't supposed to be -X11 If…
Fixed the Makefile. I can't test it because the updated lazarus sources are not in the cvs
Peter
Has anyone seen this problem occur and how can it be fixed it looks like the linker is looking for a path that is not defined properly?
Someone else's system not mine! I am able to compile under 1.2 no problem....
Cliff
main.pp(102,36) Hint: Parameter not used SENDER
main.pp(108,30) Hint: Parameter not used SENDER
main.pp(121,27) Hint: Parameter not used SENDER
main.pp(128,27) Hint: Parameter not used SENDER
main.pp(138,1) Note: Local variable not used VBOX1
main.pp(138,7) Note: Local variable not used VBOX2
main.pp(139,1) Note: Local variable not used TFCOMPONENT
main.pp(140,1) Note: Local variable not used FCONTEXT
main.pp(424,1) Note: Local variable not used PROJECT
Assembling main
application.pp(74,1) Note: Local variable not used TFORM
Assembling application
Assembling lazarus
Linking lazarus
/usr/bin/ld: cannot open -lXi: No such file or directory
<-----------------is this a path problemin his ppc386.cfg file
Warning: Error while linking
Closing script ppas.sh
5216 Lines compiled, 2.0 sec
lazarus]#
- "If you kiss me, I'll turn into a beautiful princess."
- "Look, I'm a computer programmer. I don't have time for girls, but a talking frog is very very cool."
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
Shane
>> Cliff Baeseman 05/11 12:38 PM >>>
Has anyone seen this problem occur and how can it be fixed it looks like the linker is looking for a path that is not defined properly?
Someone else's system not mine! I am able to compile under 1.2 no problem....
Cliff
main.pp(102,36) Hint: Parameter not used SENDER
main.pp(108,30) Hint: Parameter not used SENDER
main.pp(121,27) Hint: Parameter not used SENDER
main.pp(128,27) Hint: Parameter not used SENDER
main.pp(138,1) Note: Local variable not used VBOX1
main.pp(138,7) Note: Local variable not used VBOX2
main.pp(139,1) Note: Local variable not used TFCOMPONENT
main.pp(140,1) Note: Local variable not used FCONTEXT
main.pp(424,1) Note: Local variable not used PROJECT
Assembling main
application.pp(74,1) Note: Local variable not used TFORM
Assembling application
Assembling lazarus
Linking lazarus
/usr/bin/ld: cannot open -lXi: No such file or directory
<-----------------is this a path problemin his ppc386.cfg file
Warning: Error while linking
Closing script ppas.sh
5216 Lines compiled, 2.0 sec
lazarus]#
- "If you kiss me, I'll turn into a beautiful princess."
- "Look, I'm a computer programmer. I don't have time for girls, but a talking frog is very very cool."
_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
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 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
Fixed the Makefile. I can't test it because the updated lazarus sources are not in the cvs
I cannot put the new stuff in until this evening and I will then work the install isssues.
Shane if you have anything new could you put it in the CVS or send it to me and I will do it.
I wish to have some decent working source befor building the RPMS...
Cliff
I'm the guy with the problem. I would like a copy of a working ppc386.cfg. I tried to…
They are generated by the compiler
The -lXi appears in link.res as shown below.
You need to have a new makefile.fpc and the latest lazarus sources which use the new makefile.fpc
Has anyone seen this problem occur and how can it be fixed it looks like the linker is…
Cliff Baeseman wroteHas anyone seen this problem occur and how can it be fixed it looks like the linker is looking for a path that is not defined properly?
This is what that patch to the makefile was for. The person needs to set the XLIBDIR in the makefile assuming you have added the patch I sent.
You set the following variable to point to where your X11 libraries are located. IF the GTK libraries are not located with the X11 libraries you need to set the GTKLIBDIR as well.
XLIBDIR = /usr/X11/lib
However I just check CVS and you didn't add it yet. You need to add the lines.
++++++++++++++++++++++++
ifdef XLIBDIR
override NEEDLIBDIR := $(NEEDLIBDIR) $(XLIBDIR)
endif
ifdef GTKLIBDIR
override NEEDLIBDIR := $(NEEDLIBDIR) $(GTKLIBDIR)
endif
++++++++++++++++++++++++
I put them right after the line
EXEOBJECTS=lazarus
This assumes that the problem is that the X11 directory is the problem.
I am hoping to have a working 1.2.1 version working soon so I'll send it over in a bit.
Shane
>> Cliff Baeseman 05/11 2:16 PM >>>
I cannot put the new stuff in until this evening and I will then work the install isssues.
Shane if you have anything new could you put it in the CVS or send it to me and I will do it.
I wish to have some decent working source befor building the RPMS...
Cliff