New question

jo smith joblow7777 at yahoo.com
Fri Sep 6 16:51:44 CEST 2002


Is there another linker to use besides Sun's?  I found
an ld in these places:

/usr/lib/ld
/usr/ccs/bin/ld
/usr/ccs/bin/sparcv9/ld
/usr/ucb/ld

Would the one in /usr/lib or /usr/ucb be better than
the one in /usr/ccs/bin or /usr/ccs/bin/sparcv9?

--- Jason Marshall <jasonm at kelman.com> wrote:
> Sun's ld uses different flags than Linux's, which is
> what Boutell seems to
> have crafted his Makefile(s) for...  Or maybe it's
> just that Sun's ld is
> different from everyone else's... *8-).
> 
> It's parsing -shared as if it were -s -h -a -r -e
> -d, and whining about
> the -h part...
> 
> I think last time I did this, I gave up on making
> the shared lib and just
> linked things with the .a that's much easier to
> create (as I recall).
> 
> > Yes, I'm running Solaris 8 and got the programs
> from
> > sunfreeware.  The png I've got right now is source
> I
> > downloaded from the libpng URL.  I got the libpng
> > compiled just fine.  Now I can't get the gd to
> > compile.  See the following:
> > 
> > ld -shared -o libgd.so.2.0.0 gd.o gd_gd.o gd_gd2.o
> > gd_io.o gd_io_dp.o  gd_io_file.o gd_ss.o
> gd_io_ss.o
> > gd_png.o gd_jpeg.o gdxpm.o  gdfontt.o gdfonts.o
> > gdfontmb.o gdfontl.o gdfontg.o  gdtables.o gdft.o
> > gdcache.o gdkanji.o wbmp.o  gd_wbmp.o gdhelpers.o
> > gd_topal.o
> > ld: fatal: option -h and building a dynamic
> executable
> > are incompatible
> > ld: fatal: Flags processing errors
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `libgd.so.2.0.0'
> > 
> > Now what?
> > --- Jason Marshall <jasonm at kelman.com> wrote:
> > > You're running Solaris 8?  Did you get your
> package
> > > of png stuff from
> > > sunfreeware.com?
> > > 
> > > Me too, and I've got the exact same problems
> (same
> > > versions and
> > > everything).
> > > 
> > > Time to find the libpng source, and built it all
> > > myself.
> > > 
> > > > I just double-checked the libpng 1.2.4 and it
> > > compiled
> > > > just fine.  I don't know where the 1.0.6 could
> be
> > > > coming from.  Any ideas?
> > > > 
> > > > > [Tue Sep  3 12:11:20 2002] [error] [client
> > > > > 1.1.2.185]
> > > > > Premature end of script headers:
> > > > > /usr/local/nagios/sbin/statusmap.cgi
> > > > > libpng warning: Application was compiled
> with
> > > png.h
> > > > > from libpng-1.0.6
> > > > > libpng warning: Application  is  running
> with
> > > png.c
> > > > > from libpng-1.2.4
> > > > > gd-png:  fatal libpng error: Incompatible
> libpng
> > > > > version in application and library
> > > > > 
> > > > 
> > > > 
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Finance - Get real-time stock quotes
> > > > http://finance.yahoo.com
> > > > 
> > > 
> > > ---
> > > Jason Marshall, Unix Geek, Kelman Technologies,
> > > Inc., Calgary, AB, Canada.
> > > 
> > >   From a Sun Microsystems bug report (#4102680):
> > >     "Workaround: don't pound on the mouse like a
> > > wild monkey."
> > > 
> > >   "I have great faith in fools: 
> > >      Self confidence my friends call it." 
> -Edgar
> > > Allan Poe
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Finance - Get real-time stock quotes
> > http://finance.yahoo.com
> > 
> > 
> >
>
-------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of
> that same old
> > cell phone?  Get a new here for FREE!
> >
>
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> ---
> Jason Marshall, Unix Geek, Kelman Technologies,
> Inc., Calgary, AB, Canada.
> 
>   From a Sun Microsystems bug report (#4102680):
>     "Workaround: don't pound on the mouse like a
> wild monkey."
> 
>   "I have great faith in fools: 
>      Self confidence my friends call it."  -Edgar
> Allan Poe
> 
> 
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of
> that same old
> cell phone?  Get a new here for FREE!
>
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nagios-users


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list