groff fails to compile

Chris Buxton cbuxton at
Mon Jan 21 06:34:45 PST 2008

Using the uClibc/linux 2.6 book, in chapter 6, the groff package fails. It appears to be due to this error:

/usr/include/bits/getopt.h:155: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' throws different exceptions
/usr/src/groff/groff- error: from previous declaration 'int getopt(int, char* const*, const char*)'
make[2]: *** [maxfilename.o] Error 1
make[2]: Leaving directory `/usr/src/groff/groff-'
make[1]: Leaving directory `/usr/src/groff/groff-'
make[1]: *** [src/libs/libgroff] Error 2
make: *** [all] Error 2

If I'm building a server that has no need of man pages, can I skip groff? Or will later packages have problems?

Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone:   +354 412 1500
Email:   cbuxton at
Men & Mice
We bring control and flexibility to network management
This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copy of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify us immediately by reply e-mail and immediately delete this message and all its attachment.

More information about the hlfs-dev mailing list