Troubles compiling xfree86 4.4.0
I am having problems with compoiling xfree86 4.4.0 on MEPIS 2004.06
When I run the make World > World.log 2>&1 command, this is what I end up with. In file included from lbx_zlib.c:67: lbx_zlib.h:55:18: zlib.h: No such file or directory In file included from lbx_zlib.c:67: lbx_zlib.h:59: error: parse error before "z_stream" lbx_zlib.h:59: warning: no semicolon at end of struct or union lbx_zlib.h:81: error: parse error before '}' token lbx_zlib.h:81: warning: ISO C does not allow extra `;' outside of a function lbx_zlib.c:83: error: field `compress_state' has incomplete type lbx_zlib.c:84: error: field `decompress_state' has incomplete type lbx_zlib.c: In function `init_compress': lbx_zlib.c:97: error: dereferencing pointer to incomplete type lbx_zlib.c:99: error: dereferencing pointer to incomplete type lbx_zlib.c:100: error: dereferencing pointer to incomplete type lbx_zlib.c:101: error: dereferencing pointer to incomplete type lbx_zlib.c:101: error: dereferencing pointer to incomplete type lbx_zlib.c:102: error: dereferencing pointer to incomplete type lbx_zlib.c:104: error: dereferencing pointer to incomplete type lbx_zlib.c:104: error: `alloc_func' undeclared (first use in this function) lbx_zlib.c:104: error: (Each undeclared identifier is reported only once lbx_zlib.c:104: error: for each function it appears in.) p -d < XFree86-4.4.0-src-1.tgz | tar vxf -lbx_zlib.c:104: error: parse error before numeric constant lbx_zlib.c:105: error: dereferencing pointer to incomplete type lbx_zlib.c:105: error: `free_func' undeclared (first use in this function) lbx_zlib.c:105: error: parse error before numeric constant lbx_zlib.c:106: error: dereferencing pointer to incomplete type lbx_zlib.c:107: error: dereferencing pointer to incomplete type lbx_zlib.c:108: error: dereferencing pointer to incomplete type lbx_zlib.c:108: error: dereferencing pointer to incomplete type lbx_zlib.c:110: error: dereferencing pointer to incomplete type lbx_zlib.c:110: warning: implicit declaration of function `deflateInit' lbx_zlib.c:110: error: dereferencing pointer to incomplete type lbx_zlib.c:112: error: dereferencing pointer to incomplete type lbx_zlib.c:112: error: dereferencing pointer to incomplete type lbx_zlib.c:112: error: `Z_OK' undeclared (first use in this function) Goes on like this until make[5]: *** [lbx_zlib.o] Error 1 make[5]: Leaving directory `/home/Kyle/xfree86/xc/lib/lbxutil/lbx_zlib' make[4]: *** [lbx_zlib] Error 2 make[4]: Leaving directory `/home/Kyle/xfree86/xc/lib/lbxutil' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/Kyle/xfree86/xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/Kyle/xfree86/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/home/Kyle/xfree86/xc' make: *** [World] Error 2 Can somebody please tell me wtf is going on? Thanks in advance. |
you don't have zlib (or it cannot find it on your system).
Whenever you get alot of undeclared variable errors in a short span look for term "No such file or directory" which in your case here is zlib.h. |
I tried running apt-get install zlib before posting. Didn't find anything.
root@0[xc]# apt-get install zlibs Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package zlibs root@0[xc]# apt-get install zlib Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package zlib [color=blue[root@0[xc]#[/color] edit found the home page |
New Problem
In file included from auth.c:44: dm.h:105:31: security/pam_appl.h: No such file or directory In file included from auth.c:44: dm.h:427: error: parse error before '*' token dm.h:427: warning: type defaults to `int' in declaration of `thepamhp' dm.h:427: error: ISO C forbids data definition with no type or storage class dm.h:428: error: parse error before '*' token dm.h:428: warning: type defaults to `int' in declaration of `thepamh' dm.h:428: error: ISO C forbids data definition with no type or storage class make[3]: *** [auth.o] Error 1 make[3]: Leaving directory `/home/Kyle/xfree86/xc/programs/xdm' make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/Kyle/xfree86/xc/programs' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/Kyle/xfree86/xc' make: *** [install] Error 2 edit: oh, and this is with make install. |
do you have pam installed? If you do look for the pam-devel package
|
edit nvm
|
Here we go again
text-mode.c:3264: error: `KEY_END' undeclared (first use in this function) text-mode.c:3318: warning: implicit declaration of function `flash' make[5]: *** [text-mode.o] Error 1 make[5]: Leaving directory `/home/Kyle/xfree86/xc/programs/Xserver/hw/xfree86/xf86cfg' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/Kyle/xfree86/xc/programs/Xserver/hw/xfree86' make[3]: *** [hw/xfree86] Error 2 make[3]: Leaving directory `/home/Kyle/xfree86/xc/programs/Xserver' make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/Kyle/xfree86/xc/programs' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/Kyle/xfree86/xc' make: *** [install] Error 2 It does a bunch of other things with the program text-mode before this happens. Does this mean I have to install flash player? If so, wtf... This is with make install btw |
Bu8mp
|
Final bump before I go to bed.
|
Need to see what it says before KEY_END. Since KEY_END is undeclared it probably means it didn't find another header file that you need.
did MEPIS come with X or are you replacing Xfree? |
'Course it did.
Anyways, I ended up having to do a ne install because the damn thing decided it wouldn't boot this morning. So, back to square one. |
text-mode.c:2876: warning: statement with no effect
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' |
I looked up a bit higher and noticed I was missing ncurses.
I really should back some of what I'm downloading up. |
All times are GMT -5. The time now is 05:35 AM. |