Message: Re: linking error on Red Hat Linux 8 64bit Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: linking error on Red Hat Linux 8 64bit 

Forum: Installation and Configuration
Re: Question linking error on Red Hat Linux 8 64bit (Richard Gillham Darnley)
Re: None Re: linking error on Red Hat Linux 8 64bit (Ben Morgan)
Re: None Re: linking error on Red Hat Linux 8 64bit (Richard Gillham Darnley)
Re: None Re: linking error on Red Hat Linux 8 64bit (Ben Morgan)
Date: 16 Mar, 2011
From: Richard Gillham Darnley <Richard Gillham Darnley>

Hi,

I am suspicious that the output in my previous post is misleading I may have moved the Linux-g++.gmk file to view it on my desktop and forgot to transfer it back to the RedHat server when I tried 'make CPPVERBOSE=1'.

1. So now with /geant4/geant4.9.3.p902/config/sys/Linux-g++.gmk present here is the output WITH 'make CPPVERBOSE=1':

"
sh-3.2$ make CPPVERBOSE=1
Using global libraries ...
g++ -W -Wall -ansi -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -pipe -O2 -fPIC -DG4OPTIMISE -Iinclude -I/home/rvd/CLHEP/include -DG4VERBOSE -DG4_STORE_TRAJECTORY -DG4UI_USE_TCSH -DG4UI_USE -DG4VIS_USE_ASCIITREE -DG4VIS_USE_DAWNFILE -DG4VIS_USE_GMOCRENFILE -DG4VIS_USE_HEPREPFILE -DG4VIS_USE_RAYTRACER -DG4VIS_USE_VRMLFILE -DG4VIS_USE -I/home/rvd/geant4/geant4.9.3.p02/include/ \
   -o /home/rvd/g4work/bin/Linux-g++/mulassis /home/rvd/g4work/tmp/Linux-g++/mulassis/exe/mulassis.o -L/home/rvd/CLHEP/lib -L/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++ -L/home/rvd/g4work/tmp/Linux-g++/mulassis -Wl,-rpath /home/rvd/g4work/tmp/Linux-g++/mulassis \
   -lmulassis -lG4Tree -lG4FR -lG4GMocren -lG4visHepRep -lG4RayTracer -lG4VRML -lG4vis_management -lG4modeling -lG4interfaces -lG4persistency -lG4error_propagation -lG4readout -lG4physicslists -lG4run -lG4event -lG4tracking -lG4parmodels -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4materials -lG4graphics_reps -lG4intercoms -lG4global -lCLHEP -lm -lz
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XSetWMProperties'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XSetForeground'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XCreateSimpleWindow'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XAllocWMHints'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XOpenDisplay'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XFlush'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XCreateGC'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XStringListToTextProperty'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XMapWindow'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XAllocSizeHints'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XFillRectangle'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XParseGeometry'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XAllocClassHint'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XSelectInput'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XIfEvent'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XGetRGBColormaps'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XDrawPoint'
collect2: ld returned 1 exit status
make: *** [/home/rvd/g4work/bin/Linux-g++/mulassis] Error 1
sh-3.2$
"

And here is the make output WITHOUT the 'CPPVERBOSE=1':

"
sh-3.2$ make
Using global libraries ...
Linking mulassis
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XSetWMProperties'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XSetForeground'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XCreateSimpleWindow'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XAllocWMHints'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XOpenDisplay'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XFlush'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XCreateGC'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XStringListToTextProperty'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XMapWindow'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XAllocSizeHints'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XFillRectangle'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XParseGeometry'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XAllocClassHint'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XSelectInput'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XIfEvent'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XGetRGBColormaps'
/home/rvd/geant4/geant4.9.3.p02/lib/Linux-g++/libG4RayTracer.so: undefined reference to `XDrawPoint'
collect2: ld returned 1 exit status
make: *** [/home/rvd/g4work/bin/Linux-g++/mulassis] Error 1
sh-3.2$
"

2. I've check the permissions for Linux-g++.gmk and I get '-rw-r--r--' should it not be '-rwer--r--'?

3. LDFLAGS is not set in my environment (should it be?).

Cheers

Richard

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: linking error on Red Hat Linux 8 64bit   (Richard Gillham Darnley - 16 Mar, 2011)
2 None: Re: linking error on Red Hat Linux 8 64bit   (Ben Morgan - 16 Mar, 2011)
1 Feedback: Re: linking error on Red Hat Linux 8 64bit   (Richard Gillham Darnley - 16 Mar, 2011)
(_ None: Re: linking error on Red Hat Linux 8 64bit   (Ben Morgan - 17 Mar, 2011)
 Add Message Add Message
to: "Re: linking error on Red Hat Linux 8 64bit"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]