LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Xorg-6.8.2 compile error (https://www.linuxquestions.org/questions/linux-from-scratch-13/xorg-6-8-2-compile-error-335090/)

joakim12 06-19-2005 04:14 AM

Xorg-6.8.2 compile error
 
Version svn-20050619

gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXENVIRONMENT -c -o main.o main.c
bison -y -d pswparser.y
konfliktid: 1 nihutamine/redutseerimine
mv -f y.tab.c pswparser.c
+ mv -f y.tab.h pswparser.h
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXENVIRONMENT -c -o pswparser.o pswparser.c
y.tab.c:616:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined
flex -l -t lexer.l > lexer.c
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXENVIRONMENT -c -o lexer.o lexer.c
<stdout>: In function `yylex':
<stdout>:1199: error: `yy_prev_more_offset' undeclared (first use in this function)
<stdout>:1199: error: (Each undeclared identifier is reported only once
<stdout>:1199: error: for each function it appears in.)
lexer.l:349: warning: long unsigned int format, long int arg (arg 3)
lexer.l:358: warning: long unsigned int format, long int arg (arg 3)
lexer.l: At top level:
<stdout>:2988: warning: 'yy_flex_strlen' defined but not used
make[4]: *** [lexer.o] Error 1
make[4]: Leaving directory `/home/packages/blfs/xcbuild/config/pswrap'
make[3]: *** [../../config/pswrap/pswrap] Error 2
make[3]: Leaving directory `/home/packages/blfs/xcbuild/lib/dps'
make[2]: *** [includes] Error 2
make[2]: Leaving directory `/home/packages/blfs/xcbuild/lib'
make[1]: *** [includes] Error 2
make[1]: Leaving directory `/home/packages/blfs/xcbuild'
make: *** [World] Error 2

Harmaa Kettu 06-20-2005 07:22 AM

This is one of the many bugs in flex 2.5.31. Reinstall flex with the newest version of the debian patch (http://www.linuxfromscratch.org/patc..._fixes-4.patch).

joakim12 06-20-2005 11:38 AM

Next error.

rm -f text-mode.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef -fno-merge-constants -I../common -I../scanpci -I../loader -I../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../programs/Xserver/include -I../../../../../exports/include/X11 -I../../../../../lib/font/include -I../../../../.. -I../../../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((2) * 1000) + 0)" -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DXF86CONFIG=\"xorg.conf\" -DUSE_MODULES -DHAS_NCURSES -DPROJECT_ROOT=\"/usr/X11R6\" -DXF86CONFIGDIR=\"/usr/X11R6/lib/X11\" -D__XCONFIGFILE__='"xorg.conf"' -D__XCONFIGDIR__='"/usr/X11R6/lib/X11"' -D__XLOGFILE__='"Xorg"' -D__XSERVERNAME__='"Xorg"' -D__XKBDEFRULES__='"xorg"' text-mode.c
text-mode.c:38:21: ncurses.h: No such file or directory
text-mode.c:70: error: parse error before '*' token
text-mode.c:71: error: parse error before '*' token
text-mode.c:72: error: parse error before '*' token
text-mode.c:73: error: parse error before '*' token
text-mode.c:75: error: parse error before '*' token
text-mode.c:77: error: parse error before '*' token
text-mode.c:80: error: parse error before '*' token
text-mode.c:103: error: parse error before "screen_attr"
text-mode.c:103: warning: type defaults to `int' in declaration of `screen_attr'
text-mode.c:103: error: `A_NORMAL' undeclared here (not in a function)
text-mode.c:103: error: ISO C forbids data definition with no type or storage class
text-mode.c:104: error: parse error before "dialog_attr"
text-mode.c:104: warning: type defaults to `int' in declaration of `dialog_attr'
text-mode.c:104: error: `A_REVERSE' undeclared here (not in a function)
text-mode.c:104: error: ISO C forbids data definition with no type or storage class
text-mode.c:105: error: parse error before "highlight_border_attr"
text-mode.c:105: warning: type defaults to `int' in declaration of `highlight_border_attr'
text-mode.c:105: error: ISO C forbids data definition with no type or storage class
text-mode.c:106: error: parse error before "shadow_border_attr"
text-mode.c:106: warning: type defaults to `int' in declaration of `shadow_border_attr'
text-mode.c:106: error: ISO C forbids data definition with no type or storage class
text-mode.c:107: error: parse error before "title_attr"
text-mode.c:107: warning: type defaults to `int' in declaration of `title_attr'
text-mode.c:107: error: ISO C forbids data definition with no type or storage class
text-mode.c:108: error: parse error before "button_active_attr"
text-mode.c:108: warning: type defaults to `int' in declaration of `button_active_attr'
text-mode.c:108: error: ISO C forbids data definition with no type or storage class
text-mode.c:109: error: parse error before "button_inactive_attr"
text-mode.c:109: warning: type defaults to `int' in declaration of `button_inactive_attr'
text-mode.c:109: error: ISO C forbids data definition with no type or storage class
text-mode.c: In function `TextMode':
text-mode.c:142: warning: implicit declaration of function `initscr'
text-mode.c:143: warning: implicit declaration of function `noecho'
text-mode.c:144: warning: implicit declaration of function `nonl'
text-mode.c:145: warning: implicit declaration of function `keypad'
text-mode.c:145: error: `stdscr' undeclared (first use in this function)
text-mode.c:145: error: (Each undeclared identifier is reported only once
text-mode.c:145: error: for each function it appears in.)
text-mode.c:152: warning: implicit declaration of function `has_colors'
text-mode.c:153: warning: implicit declaration of function `start_color'
text-mode.c:154: warning: implicit declaration of function `init_pair'
text-mode.c:154: error: `COLOR_BLACK' undeclared (first use in this function)
text-mode.c:155: error: `A_BOLD' undeclared (first use in this function)
text-mode.c:155: warning: implicit declaration of function `COLOR_PAIR'
text-mode.c:157: error: `COLOR_WHITE' undeclared (first use in this function)
text-mode.c:166: error: `COLOR_BLUE' undeclared (first use in this function)
text-mode.c:180: warning: implicit declaration of function `refresh'
text-mode.c:220: warning: string length `527' is greater than the length `509' ISO C89 compilers are required to support
text-mode.c:279: warning: implicit declaration of function `endwin'
text-mode.c: In function `ClearScreen':
text-mode.c:2405: warning: implicit declaration of function `wattrset'
text-mode.c:2405: error: `stdscr' undeclared (first use in this function)
text-mode.c:2406: error: `LINES' undeclared (first use in this function)
text-mode.c:2407: warning: implicit declaration of function `wmove'
text-mode.c:2408: error: `COLS' undeclared (first use in this function)
text-mode.c:2409: warning: implicit declaration of function `waddch'
text-mode.c:2409: error: `ACS_PLUS' undeclared (first use in this function)
text-mode.c:2411: warning: implicit declaration of function `touchwin'
text-mode.c: In function `Dialog':
text-mode.c:2419: error: `WINDOW' undeclared (first use in this function)
text-mode.c:2419: error: `dialog' undeclared (first use in this function)
text-mode.c:2421: error: `COLS' undeclared (first use in this function)
text-mode.c:2422: error: `LINES' undeclared (first use in this function)
text-mode.c:2424: warning: implicit declaration of function `newwin'
text-mode.c:2451: warning: implicit declaration of function `wrefresh'
text-mode.c:2455: warning: implicit declaration of function `wgetch'
text-mode.c:2457: error: `KEY_LEFT' undeclared (first use in this function)
text-mode.c:2458: error: `KEY_RIGHT' undeclared (first use in this function)
text-mode.c:2479: warning: implicit declaration of function `delwin'
text-mode.c: At top level:
text-mode.c:2487: error: parse error before '*' token
text-mode.c: In function `PaintWindow':
text-mode.c:2491: error: `title_str' undeclared (first use in this function)
text-mode.c:2492: error: `width' undeclared (first use in this function)
text-mode.c:2494: error: `win' undeclared (first use in this function)
text-mode.c:2495: error: `x' undeclared (first use in this function)
text-mode.c:2495: error: `y' undeclared (first use in this function)
text-mode.c:2498: warning: implicit declaration of function `waddstr'
text-mode.c:2505: error: `height' undeclared (first use in this function)
text-mode.c:2509: error: `ACS_LLCORNER' undeclared (first use in this function)
text-mode.c:2511: error: `ACS_LRCORNER' undeclared (first use in this function)
text-mode.c:2513: error: `ACS_HLINE' undeclared (first use in this function)
text-mode.c:2515: error: `ACS_VLINE' undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:2525: error: parse error before '*' token
text-mode.c: In function `PaintBox':
text-mode.c:2529: error: `win' undeclared (first use in this function)
text-mode.c:2531: error: `height' undeclared (first use in this function)
text-mode.c:2532: error: `y' undeclared (first use in this function)
text-mode.c:2532: error: `x' undeclared (first use in this function)
text-mode.c:2533: error: `width' undeclared (first use in this function)
text-mode.c:2535: error: `ACS_ULCORNER' undeclared (first use in this function)
text-mode.c:2537: error: `ACS_LLCORNER' undeclared (first use in this function)
text-mode.c:2539: error: `ACS_URCORNER' undeclared (first use in this function)
text-mode.c:2541: error: `ACS_LRCORNER' undeclared (first use in this function)
text-mode.c:2543: error: `ACS_HLINE' undeclared (first use in this function)
text-mode.c:2547: error: `ACS_VLINE' undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:2557: error: parse error before '*' token
text-mode.c: In function `PaintButton':
text-mode.c:2561: error: `win' undeclared (first use in this function)
text-mode.c:2561: error: `y' undeclared (first use in this function)
text-mode.c:2561: error: `x' undeclared (first use in this function)
text-mode.c:2562: error: `selected' undeclared (first use in this function)
text-mode.c:2564: error: `label' undeclared (first use in this function)
text-mode.c:2564: warning: left-hand operand of comma expression has no effect
text-mode.c: At top level:
text-mode.c:2579: error: parse error before '*' token
text-mode.c: In function `PrintWrap':
text-mode.c:2582: error: `prompt' undeclared (first use in this function)
text-mode.c:2584: error: `x' undeclared (first use in this function)
text-mode.c:2585: error: `y' undeclared (first use in this function)
text-mode.c:2599: error: `width' undeclared (first use in this function)
text-mode.c:2603: error: `win' undeclared (first use in this function)
text-mode.c:2605: warning: implicit declaration of function `getyx'
text-mode.c: In function `DialogMenu':
text-mode.c:2623: error: `WINDOW' undeclared (first use in this function)
text-mode.c:2623: error: `dialog' undeclared (first use in this function)
text-mode.c:2623: error: `menu' undeclared (first use in this function)
text-mode.c:2623: warning: left-hand operand of comma expression has no effect
text-mode.c:2628: error: `COLS' undeclared (first use in this function)
text-mode.c:2629: error: `LINES' undeclared (first use in this function)
text-mode.c:2650: warning: implicit declaration of function `subwin'
text-mode.c:2666: warning: implicit declaration of function `wnoutrefresh'
text-mode.c:2679: error: `KEY_PPAGE' undeclared (first use in this function)
text-mode.c:2686: warning: implicit declaration of function `scrollok'
text-mode.c:2687: warning: implicit declaration of function `wscrl'
text-mode.c:2702: error: `KEY_NPAGE' undeclared (first use in this function)
text-mode.c:2726: error: `KEY_UP' undeclared (first use in this function)
text-mode.c:2748: error: `KEY_DOWN' undeclared (first use in this function)
text-mode.c:2756: warning: implicit declaration of function `scroll'
text-mode.c:2786: error: `KEY_LEFT' undeclared (first use in this function)
text-mode.c:2787: error: `KEY_RIGHT' undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:2841: error: parse error before '*' token
text-mode.c: In function `PaintItem':
text-mode.c:2845: error: `win' undeclared (first use in this function)
text-mode.c:2845: error: `selected' undeclared (first use in this function)
text-mode.c:2846: error: `choice' undeclared (first use in this function)
text-mode.c:2851: error: `item' undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:2855: error: parse error before '*' token
text-mode.c: In function `PaintScroller':
text-mode.c:2859: error: `lenght' undeclared (first use in this function)
text-mode.c:2859: error: `visible' undeclared (first use in this function)
text-mode.c:2860: error: `offset' undeclared (first use in this function)
text-mode.c:2863: error: `win' undeclared (first use in this function)
text-mode.c:2866: error: `ACS_BLOCK' undeclared (first use in this function)
text-mode.c:2866: error: `ACS_VLINE' undeclared (first use in this function)
text-mode.c: In function `DialogCheckBox':
text-mode.c:2876: error: `WINDOW' undeclared (first use in this function)
text-mode.c:2876: error: `dialog' undeclared (first use in this function)
text-mode.c:2876: error: `menu' undeclared (first use in this function)
text-mode.c:2876: warning: left-hand operand of comma expression has no effect
text-mode.c:2881: error: `COLS' undeclared (first use in this function)
text-mode.c:2882: error: `LINES' undeclared (first use in this function)
text-mode.c:2927: error: `KEY_PPAGE' undeclared (first use in this function)
text-mode.c:2951: error: `KEY_NPAGE' undeclared (first use in this function)
text-mode.c:2975: error: `KEY_UP' undeclared (first use in this function)
text-mode.c:2997: error: `KEY_DOWN' undeclared (first use in this function)
text-mode.c:3035: error: `KEY_LEFT' undeclared (first use in this function)
text-mode.c:3036: error: `KEY_RIGHT' undeclared (first use in this function)
text-mode.c: At top level:
text-mode.c:3097: error: parse error before '*' token
text-mode.c: In function `PaintCheckItem':
text-mode.c:3101: error: `win' undeclared (first use in this function)
text-mode.c:3101: error: `selected' undeclared (first use in this function)
text-mode.c:3102: error: `choice' undeclared (first use in this function)
text-mode.c:3107: warning: implicit declaration of function `wprintw'
text-mode.c:3107: error: `checked' undeclared (first use in this function)
text-mode.c:3108: error: `item' undeclared (first use in this function)
text-mode.c: In function `DialogInput':
text-mode.c:3118: error: `WINDOW' undeclared (first use in this function)
text-mode.c:3118: error: `dialog' undeclared (first use in this function)
text-mode.c:3120: error: `COLS' undeclared (first use in this function)
text-mode.c:3121: error: `LINES' undeclared (first use in this function)
text-mode.c:3173: error: `KEY_UP' undeclared (first use in this function)
text-mode.c:3174: error: `KEY_DOWN' undeclared (first use in this function)
text-mode.c:3176: error: `KEY_LEFT' undeclared (first use in this function)
text-mode.c:3190: error: `KEY_RIGHT' undeclared (first use in this function)
text-mode.c:3206: error: `KEY_BACKSPACE' undeclared (first use in this function)
text-mode.c:3236: error: `KEY_HOME' undeclared (first use in this function)
text-mode.c:3264: error: `KEY_END' undeclared (first use in this function)
text-mode.c:3318: warning: implicit declaration of function `flash'
text-mode.c: In function `DialogMenu':
text-mode.c:2623: warning: statement with no effect
make[6]: *** [text-mode.o] Error 1
make[6]: Leaving directory `/home/packages/blfs/xcbuild/programs/Xserver/hw/xfree86/xf86cfg'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/packages/blfs/xcbuild/programs/Xserver/hw/xfree86'
make[4]: *** [hw/xfree86] Error 2
make[4]: Leaving directory `/home/packages/blfs/xcbuild/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/packages/blfs/xcbuild/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/packages/blfs/xcbuild'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/packages/blfs/xcbuild'
make: *** [World] Error 2

rezzie 08-17-2005 03:51 AM

you dont have ncurses...


All times are GMT -5. The time now is 10:46 PM.