On 9/23/2009 8:07 PM, G W wrote:
> I can't get the make to work on this package. 
>
> I get errors. 
>
> I can do a make on the host system but not under the LFS enviornment. 
>
> Below are the errrors. 
>
> man.c: In function 'make_roff_command':
> man.c:1446: error: 'TROFF' undeclared (first use in this function)
> man.c:1446: error: (Each undeclared identifier is reported only once
> man.c:1446: error: for each function it appears in.)
> man.c:1449: error: 'NROFF' undeclared (first use in this function)
> man.c:1488: error: 'gxditview' undeclared (first use in this function)
> man.c: In function 'format_display':
> man.c:1950: warning: unused variable 'htmlfile'
> man.c:1950: warning: unused variable 'htmldir'
> man.c:1949: warning: unused variable 'old_cwd'
> man.c:1946: warning: unused parameter 'man_file'
> man.c: At top level:
> security.h:29: warning: inline function 'regain_effective_privs' declared but 
> never defined
> security.h:28: warning: inline function 'drop_effective_privs' declared but 
> never defined
> ../libdb/db_storage.h:91: warning: inline function 'infoalloc' declared but 
> never defined
> ../libdb/db_storage.h:89: warning: inline function 'gripe_corrupt_data' 
> declared but never defined
> ../libdb/db_storage.h:88: warning: inline function 'gripe_lock' declared but 
> never defined
> ../libdb/db_storage.h:76: warning: inline function 'dblookup_exact' declared 
> but never defined
> ../libdb/db_storage.h:73: warning: inline function 'dblookup_all' declared 
> but never defined
> ../libdb/mydbm.h:143: warning: inline function 'btree_nextkeydata' declared 
> but never defined
> ../libdb/mydbm.h:142: warning: inline function 'btree_replace' declared but 
> never defined
> ../libdb/mydbm.h:141: warning: inline function 'btree_nextkey' declared but 
> never defined
> ../libdb/mydbm.h:140: warning: inline function 'btree_firstkey' declared but 
> never defined
> ../libdb/mydbm.h:138: warning: inline function 'btree_fetch' declared but 
> never defined
> ../libdb/mydbm.h:137: warning: inline function 'btree_exists' declared but 
> never defined
> ../libdb/mydbm.h:136: warning: inline function 'btree_close' declared but 
> never defined
> make[2]: *** [man.o] Error 1
> make[2]: Leaving directory `/sources/man-db-2.5.2/src'
> make[1]: *** [all-recursive] Error 1
>   
I have not tested nor do I have experience with this or related errors, 
but since no other replies came, I will give you some things to check:
You might be missing something in your toolchain. What did the test 
suites say about it?
You might have forgotten to apply a patch.
You might have deviated from the book somewhere.
See if these get you anywhere or jog your memory about something.

Marcus
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to