how to build Documentation/DocBook/

Luis de Bethencourt luis at debethencourt.com
Fri Jul 17 09:18:04 EDT 2015


On 17 July 2015 at 13:40, Ahmed Soliman <ahmedsoliman0x666 at gmail.com> wrote:

> I have fresh kernel downloaded by git and I want to know how to build
> Documentation/DocBook/ as pdf I have tried
> make pdfdocs >output
> but I got those warnings
> Warning(.//include/linux/init.h): no structured comments found
> Warning(.//kernel/sys.c): no structured comments found
> Warning(.//drivers/dma-buf/seqno-fence.c): no structured comments found
> Warning(.//drivers/dma-buf/reservation.c): no structured comments found
> Warning(.//include/linux/reservation.h): no structured comments found
> Warning(.//include/linux/hsi/hsi.h:150): Excess
> struct/union/enum/typedef member 'e_handler' description in
> 'hsi_client'
> Warning(.//include/linux/hsi/hsi.h:150): Excess
> struct/union/enum/typedef member 'pclaimed' description in
> 'hsi_client'
> Warning(.//include/linux/hsi/hsi.h:150): Excess
> struct/union/enum/typedef member 'nb' description in 'hsi_client'
> make[1]: *** [Documentation/DocBook/kernel-hacking.pdf] Error 9
> make: *** [pdfdocs] Error 2
>
> and the file output look like this
>
>
Which Kernel version are you using? It looks like your error has been fixed
by:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9e39dc1e563e8d390bae42ee80e1e665c18b7de2

Unfortunately. make pdfdocs fails when building DocBook/scsi.pdf in the
latest stable release (4.1.2)

Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150717/8b5fe4df/attachment.html 


More information about the Kernelnewbies mailing list