RE: Making Performer Demo Code

New Message Reply Date view Thread view Subject view Author view

Dotson, Brian W. (bcd7++at++cdc.gov)
Tue, 7 Jul 1998 14:29:09 -0400


Brian,

I tried putting this line in the makefile and it still didn't work.

I was trying to compile and link the C demo code. After your last email
I tried to compile and link the C++ version of multipipe. I

The C++ version compiled, linked and ran properly!!!!!

I'm not sure why it's a problem, we have both C and C++ compilers.

Thanks everyone.

Brian Dotson

> -----Original Message-----
> From: brian++at++dingbat.clubfed.sgi.com
> [SMTP:brian++at++dingbat.clubfed.sgi.com]
> Sent: Tuesday, July 07, 1998 11:49 AM
> To: Dotson, Brian W.
> Subject: Re: Making Performer Demo Code
>
> Brian,
>
> See if your makefile contains this line
>
> LINKERF=$(CXXF)
>
> ....ideally place it in the file like it is in the example below....
>
> include $(PFROOT)/usr/share/Performer/src/pfmakedefs
>
> # C++ programs must use CC as linker
> LINKERF=$(CXXF)
>
> .BEGIN:
> ++at++if [ $(PFDOMOTIF) = "1" ]; then \
> echo "Linking with motif libraries. setenv PFDOMOTIF 0 to turn
> off."; \
> else \
> echo "Not linking with motif libraries can't build motif.c.
> setenv
> PFDOMOTIF 1 to enable."; \
> fi
>
> #-- targets are the executables
>
> What I think might be happening is that you are using the c compilier
> to do
> your linking and you are compiling multipipe.C which is a c++ program.
> If this
> is true it is not your fault but you will need to make the Makefile
> mod to
> correct the problem.
>
> Brian
>
>
>
>
> On Jul 7, 11:33am, Dotson, Brian W. wrote:
> > Subject: RE: Making Performer Demo Code
> > Brian,
> >
> > I did that and it still doesn't compile
> >
> > This is the new warnings and errors.
> >
> > Thanks,
> >
> > Brian Dotson
> > -------------------------------------------
> >
> > --- .BEGIN ---
> > Linking with motif libraries. setenv PFDOMOTIF 0 to turn off.
> > Not linking with video libraries can't build video programs. setenv
> > PFDOVIDEO 1 to enable.
> > --- multipipe.igldso ---
> >
> > making IrisGL DSO version of multipipe.igldso
> > --- .BEGIN ---
> > Linking with motif libraries. setenv PFDOMOTIF 0 to turn off.
> > Not linking with video libraries can't build video programs. setenv
> > PFDOVIDEO 1 to enable.
> > --- multipipe.dsocmd ---
> > /usr/bin/cc -DN32 -DIRIX6_2 -DIRISGL -I/usr/include
> > -fullwarn -nostdinc -I/usr/include -mips3 -n32 -O -Olimit 2000
> > -MDupdate Makedepend -woff
> 1685,515,608,658,799,803,852,1048,1233,1499
> > -o multipipe.dsocmd multipipe.o -L/usr/lib32 -L/usr/lib32/libpfdb
> > -L/lib32 -all -mips3 -n32 -quickstart_info -nostdlib
> > -L/usr/lib32/mips3 -L/usr/lib32 -no_unresolved -lpfdu_igl -lpfui
> > -lpfutil_igl -lpf_igl -limage -lSgm -lXm -lXt -no_unresolved
> -lgl
> > -lXsgivc -lXext -lXmu -lX11 -lm -lfm -lCsup -lC
> > cc WARNING: -Olimit is no longer supported, use -OPT:Olimit=n
> instead
> > ld32: WARNING 158: Expecting MIPS3 objects: /usr/lib32/crt1.o is
> MIPS4.
> > ld32: WARNING 85: definition of XSGIvcQueryVersion in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryVideoScreenInfo in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcListVideoFormats in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcListVideoFormatsCombinations
> in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcListVideoFormatsInCombination
> in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcLoadVideoFormat in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcLoadVideoFormatCombination in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcDisableChannel in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryChannelInfo in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryMonitorName in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetOutputGain in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetOutputPedestal in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetOutputPhaseH in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetOutputPhaseSCH in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetOutputPhaseV in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetChannelGammaMap in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetOutputBlanking in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryOutputGain in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryOutputPedestal in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryOutputPhaseH in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryOutputPhaseSCH in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryOutputPhaseV in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryChannelGammaMap in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryOutputBlanking in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetOutputSync in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryOutputSync in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetScreenInputSyncSource in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryScreenInputSyncSource in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSetPlatformParameter in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryPlatformParameter in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryScreenGammaMaps in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryGammaMap in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcStoreGammaColors8 in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcStoreGammaColors16 in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcQueryGammaColors in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcSelectInput in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of XSGIvcFreeVideoFormatInfo in
> > /usr/lib32/libpfdu_igl.so preempts that definition in
> > /usr/lib32/libpfui.so.
> > ld32: WARNING 85: definition of matchWilde in
> /usr/lib32/libpfdu_igl.so
> > preempts that definition in /usr/lib32/libpfui.so.
> > ld32: WARNING 84: /usr/lib32/libpfui.so is not used for resolving
> any
> > symbol.
> > ld32: WARNING 85: definition of XSGIvcQueryVersion in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcQueryVideoScreenInfo in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcListVideoFormats in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcListVideoFormatsCombinations
> in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcListVideoFormatsInCombination
> in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcLoadVideoFormat in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcLoadVideoFormatCombination in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcDisableChannel in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcQueryChannelInfo in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: WARNING 85: definition of XSGIvcQueryMonitorName in
> > /usr/lib32/libpfui.so preempts that definition in
> > /usr/lib32/libpfutil_igl.so.
> > ld32: Giving up after printing 50 warnings. Use -wall to print all
> > warnings.
> > ld32: INFO 31: libgl.so specified in the "libpfdu_igl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXext.so specified in the "libpfdu_igl.so"'s
> liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libC.so.2 specified in the "libpfdu_igl.so"'s
> liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libCsup.so specified in the "libpfdu_igl.so"'s
> liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libGLU.so specified in the "libpfui.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libGL.so specified in the "libpfui.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXext.so specified in the "libpfui.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libC.so.2 specified in the "libpfui.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libCsup.so specified in the "libpfui.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libgl.so specified in the "libpfutil_igl.so"'s
> liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXext.so specified in the "libpfutil_igl.so"'s
> liblist
> >
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libC.so.2 specified in the "libpfutil_igl.so"'s
> liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libCsup.so specified in the "libpfutil_igl.so"'s
> liblist
> >
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXmu.so specified in the "libpf_igl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libgl.so specified in the "libpf_igl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXext.so specified in the "libpf_igl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libC.so.2 specified in the "libpf_igl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libCsup.so specified in the "libpf_igl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXm.so.1 specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXt.so specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libX11.so.1 specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libGLU.so specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libGL.so specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libgl.so specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libC.so.2 specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libc.so.1 specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libm.so specified in the "libSgm.so.1"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libGL.so specified in the "libgl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libGLU.so specified in the "libgl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libm.so specified in the "libgl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXmu.so specified in the "libgl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libX11.so.1 specified in the "libgl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXi.so specified in the "libgl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libXext.so specified in the "libgl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: INFO 31: libc.so.1 specified in the "libgl.so"'s liblist
> > has a timestamp mismatch with
> > the one specified in the link-line. -- NON-QUICKSTART
> > Use linker option -v to see which dso is used.
> > Use elfdump -Dl <executable> to dump the liblist information.
> > ld32: ERROR 33: Unresolved text symbol "__rcis" -- 1st referenced by
> > multipipe.o.
> > Use linker option -v to see when and which objects, archives and
> > dsos are loaded.
> > ld32: INFO 152: Output file removed because of error.
> > *** Error code 2
> > smake: Error: 1 error
> > *** Error code 2
> >
> >-- End of excerpt from Dotson, Brian W.
>
>
>
> --
> ----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
>
> Brian Furtaw (brian++at++sgi.com)
> VisSim Technical Consultant
> 12200-G Plum Orchard Drive Office:(301)572-3293 Fax:
> (301)872-3293
> Silver Spring, Maryland 20904
> OpenGL/ImageVision/OpenInventor/Performer
=======================================================================
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:57:41 PDT

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