[MINC-development] can't find netcdf...?

Vicka Corey minc-development@bic.mni.mcgill.ca
Fri, 7 Nov 2003 16:43:05 -0500


oh wait, i think maybe i see the problem:

the command that's running is:

gcc -I/usr/pubsw/include -o voxeltoworld progs/coordinates/voxeltoworld.o  -L/usr/pubsw/lib ./.libs/libvolume_io.a ./.libs/libminc.a -lnetcdf -lm

should that work?  do those "./[...].a"'s need some -l-like or -L-like flag?

(this gcc line is the output of "make"; it just looks weird to me)

thanks,
--vicka

On Fri, Nov 07, 2003 at 04:25:26PM -0500, Robert VINCENT wrote:
> Vicka,
> 
> Those are all supposed to be defined in minc_globdef.o, which should be in
> your libminc.a
> 
> I'm going to venture an ill-informed guess that there's something odd
> about 'ranlib' on OS X.
> 
> Perhaps the following will work.  From your MINC build directory, try
> running:
> 
> ranlib .libs/libminc.a
> ranlib .libs/libvolume_io.a
> 
> and see if the MINC programs build happily from there on...
> 
> 	-bert
> 
> On Fri, 7 Nov 2003, Vicka Corey wrote:
> 
> > depressingly, minc fails to make.
> >
> > ld: Undefined symbols:
> > _minc_call_depth
> > _minc_trash_var
> > _minc_callers_ncopts
> > _minc_routine_name
> > make[2]: *** [voxeltoworld] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> >
> > ...anyone know where these are supposed to come from?  or is it
> > hair-rippin' time again? :)
> >
> > thanks,
> > --vicka
> > _______________________________________________
> > MINC-development mailing list
> > MINC-development@bic.mni.mcgill.ca
> > http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development
> >
> 
> 
> _______________________________________________
> MINC-development mailing list
> MINC-development@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development