[dsc] collector compilation error in solaris

Duane Wessels wessels at measurement-factory.com
Thu Dec 13 17:46:13 UTC 2007



On Wed, 13 Dec 2007, Avinesh  Joshi wrote:

>  I am using solaris 8 with gcc 3.4.6 . After applying patch for  solaris by  Alexander Gall i am getting follwing error while running make  for collector
>
>
> make
> (cd dsc; make all)
> o dsc base64.o  generic_counter.o  pcap.o  ...
> ...
> sh: o: not found
> *** Error code 1 (ignored)

Looks like your 'make' environment does not define the $CXX variable, so this line
is failing:


     $(PROG): $(OBJS) $(LIBHAPY)
             $(CXX) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)

You can try changing CXX to CC.  If that doesn't work, then try changing
$(CXX) to g++ or gcc.

Duane W.


More information about the dsc mailing list