OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Anatoly Pugachev (matorgsib.ru)
Date: Thu Dec 20 2001 - 10:11:20 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

         VERSION:

    R6.5.1

         CLIENT MACHINE and OPERATING SYSTEM:

    Owl (version 0.1) Linux 2.2.20 on Intel(x86) (http://www.openwall.com/Owl/)

         DISPLAY TYPE:

    XF86_*

         WINDOW MANAGER:

    xterm

         COMPILER:

    gcc version 2.95.3 20010315 (release)

         AREA:

    config

         SYNOPSIS:

    If you have gcc version 2.95.3 compiler, then man pages wont build, because of
    GNU GCC version 2.95.3 doesn't support '-undef' command line switch.

         DESCRIPTION:

    Example:
    $ cd ~/code/xc/programs/Xserver
    $ make install.man
    rm -f Xserver._man
    /lib/cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__filemansuffix__=5x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__projectroot__=/usr/X11R6 -D__xorgversion__='"Release 6.5" "X Version 11"' -D__vendorversion__="Version `echo 4 1 99 2 | sed 's/ /./g'` XFree86" <Xserver.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^XCOMM$/s//#/' -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >Xserver._man
    cpp: Invalid option `-undef'

    and now you have empty Xserver._man
    Simple solution is to disable to use '-undef' command-line option with '/lib/cpp'
    in config files (xc/config/cf/*) while building with GNU GCC 2.95.3

         REPEAT BY:

    Install GNU GCC 2.95.3 and try to {build and install} xfree86 man pages.

         SAMPLE FIX:

    regards.

    -- 
    /mator