[LFS-6.5, Section 6.48.1] Make-DB-2.5.5 Compilation Error.

William Immendorf will.immendorf at gmail.com
Fri Dec 25 09:40:36 PST 2009


On Fri, Dec 25, 2009 at 11:33 AM, Abhinav Chaturvedi
<achaturvedi at gmail.com> wrote:
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../include -I../intl
> -I../gnulib/lib -I../gnulib/lib -I../lib -I../libdb
> -DCONFIG_FILE=\"/etc/man_db.conf\" -DLOCALEDIR=\"/usr/share/locale\"
> -DAPROPOS=\"/usr/bin/apropos\" -DAPROPOS_NAME=\"apropos\"
> -DMAN=\"/usr/bin/man\" -DMANCONV=\"/usr/lib/man-db/manconv\"
> -DMANDB=\"/usr/bin/mandb\" -DSOELIM=\"/usr/bin/zsoelim\"
> -DWHATIS=\"/usr/bin/whatis\"   -g -O2 -Wall -W -Wpointer-arith
> -Wwrite-strings -Wstrict-prototypes -Wshadow -Wformat-security
> -Wno-missing-field-initializers -MT man.o -MD -MP -MF .deps/man.Tpo -c -o
> man.o man.c
> man.c: In function 'make_roff_command':
> man.c:1510: error: 'TROFF' undeclared (first use in this function)
> man.c:1510: error: (Each undeclared identifier is reported only once
> man.c:1510: error: for each function it appears in.)
> man.c:1514: error: 'NROFF' undeclared (first use in this function)
> man.c:1553: error: 'gxditview' undeclared (first use in this function)
> man.c: In function 'format_display':
> man.c:2027: warning: unused variable 'htmlfile'
> man.c:2027: warning: unused variable 'htmldir'
> man.c:2026: warning: unused variable 'old_cwd'
> man.c:2023: warning: unused parameter 'man_file'
> make[2]: *** [man.o] Error 1
> make[2]: Leaving directory `/sources/man-db-2.5.5/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/man-db-2.5.5'
> make: *** [all] Error 2
Did you build Groff with PAPERSIZE=letter (US) or PAPERSIZE=a4
(elsewhere) attached to configure? If you diddn't, rebuild Groff.


-- 
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.

--------------

"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman



More information about the lfs-support mailing list