SUMMARY: problem buliding X applications

From: Jason Hargis (Jason.Hargis@PII.COM)
Date: Thu Jun 10 1993 - 15:30:55 CDT


Thanks to the several responses! The solution was simple:

        add -lm to the cc line, or to the Makefile line XLIB.
                
        This will include the math functions in the compile.
        
        Original message is below:

                                        Jason Hargis

> From jason Thu Jun 10 12:55:52 1993
> To: derekt@pwcs.stpaul.gov
> Subject: Re: problem buliding X applications
>
> Stock "cc" I have corrected the problem by adding "-lm"
>
>
> Thanks,
>
> Jason Hargis
>
> > From hawkmoon!pwcs!derekt@uunet.UU.NET Thu Jun 10 12:54:11 1993
> > From: derekt@pwcs.stpaul.gov (Derek Terveer)
> > Subject: Re: problem buliding X applications
> > To: Jason.Hargis@gateway.PII.COM
> > Date: Thu, 10 Jun 93 10:55:40 CDT
> > X-Mailer: ELM [version 2.3 PL11]
> >
> > Jason Hargis scribbled:
> > >
> > >
> > > I have been attempting to bulid a few programs for Openwindows v3.0.
> > > When I "make" them I receive the following error:
> > >
> > > ....
> > > -lX11
> > > ld: Undefined symbol
> > > _sin
> > > _cos
> > > *** Error code 2
> > > make: Fatal error: Command failed for target `xgopher'
> > > ....
> > >
> > > I HAVE installed the following Sun OS patches:
> > >
> > > 100103-11
> > > 100296-04
> > > 100359-06
> > > 100444-35
> > > 100444-37
> > > 100492-06
> > > 100497-01
> > > 100512-04
> > > 100564-03
> > > 100573-04
> > > 100623-03
> > > 100673-01
> > > 100689-01
> > > 100726-02
> > > 100802-01
> >
> > are you using gcc or the stock cc?
> >
> > derek
> >
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:54 CDT