[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Compile Error
- From: Thomas Finley <tfinley8 comcast net>
- To: rpm-list redhat com
- Subject: Re: Compile Error
- Date: Fri, 19 Jul 2002 11:33:52 -0500
Thanks, that appeared to work.
I'm building my own distro... for fun and learning.
On Friday 19 July 2002 10:36 am, Jeff Johnson wrote:
> On Fri, Jul 19, 2002 at 09:26:29AM -0500, Thomas Finley wrote:
> > Here is the error I'm getting:
> >
> > make[4]: Entering directory `/usr/src/rpm-4.0.4/popt'
> > /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
> > -I/usr/include -Wall -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall
> > -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
> > -Wno-char-subscripts -c popt.c rm -f .libs/popt.lo
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/include -Wall -g -O2
> > -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes
> > -Wmissing-prototypes -Wno-char-subscripts -c popt.c
> > -fPIC -DPIC
> > cc1: warning: changing search order for system directory "/usr/include"
> > cc1: warning: as it has already been specified as a non-system
> > directory popt.c: In function `execCommand':
> > popt.c:429: warning: implicit declaration of function `execvp'
> > popt.c: In function `poptGetNextOpt':
> > popt.c:908: `DBL_EPSILON' undeclared (first use in this function)
> > popt.c:908: (Each undeclared identifier is reported only once
> > popt.c:908: for each function it appears in.)
> > popt.c:908: `FLT_MAX' undeclared (first use in this function)
> > popt.c:910: `FLT_MIN' undeclared (first use in this function)
> > make[4]: *** [popt.lo] Error 1
> > make[4]: Leaving directory `/usr/src/rpm-4.0.4/popt'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/usr/src/rpm-4.0.4/popt'
> > make[2]: *** [all-recursive-am] Error 2
> > make[2]: Leaving directory `/usr/src/rpm-4.0.4/popt'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/rpm-4.0.4'
> > make: *** [all-recursive-am] Error 2
> >
> > I'm configuring using :
> > LIBS='-L/usr/lib' CPPFLAGS='-I/usr/include' ./configure --prefix=/usr
> > --disable-nls --with-python
> >
> > I have popt 1.6.4 installed.
> >
> > Any help would be appreciated.
>
> Err, what platform?
>
> You're gonna need to add a line to popt.c to include the file that
> contains these math constants. Try
> grep -l FLT_MIN /usr/include/*.h
> to find the file. Add to popt.c
> #include <somefile.h>
>
> 73 de Jeff
>
> > -Thomas
> >
> >
> >
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]