[csw-users] symbol errors compiling using other blastwavepackages

Derek Morr dvm105 at psu.edu
Thu Mar 2 19:10:56 CET 2006


Lundgren, Scott wrote:
> That didn't work. Is there a gcc CFLAGS equivalent for sun's cc
> compiler?

CFLAGS is recognized by Sun's compiler as well. I think the problem was 
that you were setting LDFLAGS, not LD_OPTIONS. I'm not sure why you need 
to set LD_LIBRARY_PATH. I would unset it, since it can cause more 
problems than its worth. Try this:

export CC="/opt/SUNWspro/bin/cc"
export LD_OPTIONS="-R/opt/csw/lib -R/opt/csw/lib"
export CPPFLAGS="-I/opt/csw/include"

You shouldn't need to set CFLAGS. I just pulled pureftpd 1.0.21 and it 
built fine with the above options.

-derek

-- 
Derek Morr
Senior Systems Programmer
Academic Services & Emerging Technologies
Pennsylvania State University
derekmorr at psu.edu



More information about the users mailing list