Re: Makefile Help

New Message Reply Date view Thread view Subject view Author view

Jean-Claude Bachmann (jean-claude.bachmann++at++artemedia.de)
Thu, 07 Nov 1996 01:52:35 +0100


Steve Fuhrman wrote:
>
> On Nov 5, 4:29pm, Janet Estabridis wrote:
> > Subject: Makefile Help
> > We have just upgraded one of our machines to IRIX 6.2 and I am trying to
> > get everything working on it. We have R4400's in a RE2.
> >
> > What I would like from someone is a Makefile for Performer 2.0 with OpenGL
> > for 6.2. I have tried modifying the one I was using with Performer 2.0 and
> > OpenGL on IRIX 5.3 (that I got at my Performer class) and I am getting a
> > bunch of warnings about definitions from a library preempting definitions
> > from another library. I get an executable but it crashes.
> >
> > HELP !!!
> >
> > Janet Estabridis
> > Code 4722E0D China Lake, CA (619) 939-6894
> >
> >-- End of excerpt from Janet Estabridis
>
> Hi,
>
> I saw the same problem when I first upgraded to IRIX6.2.
>
> What worked for me was to set the following environmentals in my .login (or
> .profile depending on your shell of choice).
>
> setenv LD_LIBRARY_PATH /usr/lib:/lib
> setenv LD_LIBRARYN32_PATH /usr/lib32:/lib32
> setenv LD_LIBRARY64_PATH /usr/lib64:/lib64
>
> This helps you keep from mixing "apples an oranges".
>
> Don't forget to add on other lib paths that you need for your configuration.
>
> Good luck with your application,
>

I encounterd the same problem, after upgrading to Irix 6.2 I got a bunch
of linker warnings compiling and linking the perfly example. They look like
the following:
making IrisGL DSO version of perfly
        /usr/bin/cc -DIRISGL -DPFIRIX5 -I.. -I../../common
-I../../../../../../usr/include/ -nostdinc -I/usr/include -mips2 -o32 -O
-Olimit 2000 -MDupdate Makedepend -woff
1685,515,608,658,799,803,852,1048,1233,1499 -o perfly.DSO cmdline.o generic.o
env.o gui.o keybd.o perfly.o main.o -L/usr/lib -L/usr/lib/libpfdb -L/lib
-all -lpf_igl -lpfdu_igl -lpfutil_igl -lpfui -Wl,-none -limage -lfm
-ignore_unresolved -lgl -lXmu -lX11 -lm -lfpe -lmalloc -lC
ld: WARNING 134: weak definition of getData__8pfMemoryCFv in
/usr/lib/libpf_igl.so preempts that weak definition in /usr/lib/libpfui.so.
ld: WARNING 134: weak definition of isOfType__8pfMemoryFP6pfType in
/usr/lib/libpf_igl.so preempts that weak definition in /usr/lib/libpfui.so.
ld: WARNING 134: weak definition of isExactType__8pfMemoryFP6pfType in
/usr/lib/libpf_igl.so preempts that weak definition in /usr/lib/libpfui.so.
ld: WARNING 134: weak definition of __as__8pfMemoryFPC8pfMemory in
/usr/lib/libpf_igl.so preempts that weak definition in /usr/lib/libpfui.so.
ld: WARNING 134: weak definition of getRef__8pfMemoryFv in
/usr/lib/libpf_igl.so preempts that weak definition in /usr/lib/libpfui.so.
....
<snip>

Setting the LD_LIBRARY_PATH does not help any. The application is running
without fault, but I would still like to get rid of these warnings. Any idea
is welcomed.

J.C.

-- 

******************************************************************** * Artemedia GmbH | Tel.: +49 [0]30 25443 - 0 * * Jean-Claude Bachmann | Tel.: +49 0172 - 219 13 76 * * Budapesterstr. 40 | Fax.: +49 [0]30 25443 - 400 * * D-10787 Berlin | email: jean-claude.bachmann++at++artemedia.de * * Germany | Web Page http://www.artemedia.de * ******************************************************************** ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:53 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.