Solaris+root

From: Plamen S Boutachkov (pboutach@zirconium.helios.nd.edu)
Date: Thu Jul 29 1999 - 22:29:21 MEST


 Hi Rooters,
I have tried to compile the hello.C example from the tutorial using the
CC compiler from sun4x_55. But it seems that I am not linking all
necessary libraries. Here is my make file:

______________________________________________________________
CC = CC
RM = rm
LDOPTIONS = -w -O
LDLIBS = -L/usr/openwin/lib -lX11 -lm
LDRLIBS = $(ROOTSYS)/lib/*.so 
GLLIBS = -L/lib -lGL -lGLU
CCS = -L/usr/ccs/lib -lgen

STD_INCLUDES = -I$(ROOTSYS)/include

OBJF = main.o
all:: run

run : $(OBJF)
	$(CC) -o run $(OBJF) $(LDOPTIONS) $(LDLIBS) $(LDRLIBS) $(CCS)
$(GLLIBS)

main.o : main.c
	$(CC) -c main.c $(LDOPTIONS) $(STD_INCLUDES)


clean::
	$(RM) $(OBJF)
 ________________________________________________________________
And here is part of the ld output:

Undefined                       first referenced
 symbol                             in file
lulist_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGPythia.so
pyevnt_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGPythia.so
pyinit_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGPythia.so
paro1_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGVenus.so
lucomp_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGPythia.so
cptl_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGVenus.so
paro2_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGVenus.so
paro3_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGVenus.so
paro4_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGVenus.so
lujets_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGPythia.so
paro5_
/afs/nd.edu/user6/nsl/users2/pboutach/root/lib/libEGVenus.so

Do you know which lib should I add ....

Greetings,
Plamen.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET