View previous topic :: View next topic |
Author |
Message |
vyzivus Apprentice
Joined: 05 Jul 2004 Posts: 173 Location: Slovakia
|
Posted: Mon Feb 27, 2006 10:39 am Post subject: freenx on xorg 7.0 in x86 chroot |
|
|
Has anyone got to run the freenx NX server with modular xorg? I followed the "Experimental: installation on amd64" at http://gentoo-wiki.com/HOWTO_FreeNX_Server but ended when compiling nx-x11 server:
Code: | g++ -c -O3 -I../nx-X11/exports/include -Wno-deprecated -Wmissing-declarations -Wnested-externs -DIN_ADDR_T=in_addr_t -DVERSION=\"1.4.0\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes Png.cpp
cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
Png.cpp:22:17: png.h: No such file or directory
Png.cpp:71: error: variable or field `PngReadData' declared void
Png.cpp:71: error: `png_structp' was not declared in this scope
Png.cpp:71: error: `png_bytep' was not declared in this scope
Png.cpp:71: error: `png_size_t' was not declared in this scope
Png.cpp:71: error: initializer expression list treated as compound expression
Png.cpp: In function `int DecompressPng16(unsigned char*, int, unsigned int, unsigned int, short unsigned int*)':
Png.cpp:341: error: `png_structp' undeclared (first use this function)
Png.cpp:341: error: (Each undeclared identifier is reported only once for each function it appears in.)
Png.cpp:341: error: expected `;' before "png_ptr"
Png.cpp:342: error: `png_infop' undeclared (first use this function)
Png.cpp:342: error: expected `;' before "info_ptr"
Png.cpp:343: error: `png_bytep' undeclared (first use this function)
Png.cpp:343: error: expected `;' before "row_pointers"
Png.cpp:348: error: `png_ptr' undeclared (first use this function)
Png.cpp:348: error: `PNG_LIBPNG_VER_STRING' undeclared (first use this function)Png.cpp:348: error: `png_create_read_struct' undeclared (first use this function)
Png.cpp:361: error: `info_ptr' undeclared (first use this function)
Png.cpp:361: error: `png_create_info_struct' undeclared (first use this function)
Png.cpp:371: error: `png_destroy_read_struct' undeclared (first use this function)
Png.cpp:376: error: `png_jmpbuf' undeclared (first use this function)
Png.cpp:376: error: `setjmp' undeclared (first use this function)
Png.cpp:389: error: `png_set_read_fn' undeclared (first use this function)
Png.cpp:404: error: `png_read_info' undeclared (first use this function)
Png.cpp:406: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use this function)
Png.cpp:408: error: `png_set_expand' undeclared (first use this function)
Png.cpp:418: error: `row_pointers' undeclared (first use this function)
Png.cpp:418: error: `png_byte' undeclared (first use this function)
Png.cpp:418: error: expected primary-expression before ')' token
Png.cpp:418: error: expected `;' before "tmpBuf"
Png.cpp:441: error: `png_read_row' undeclared (first use this function)
Png.cpp: In function `int DecompressPng24(unsigned char*, int, unsigned int, unsigned int, unsigned char*)':
Png.cpp:475: error: `png_structp' undeclared (first use this function)
Png.cpp:475: error: expected `;' before "png_ptr"
Png.cpp:476: error: `png_infop' undeclared (first use this function)
Png.cpp:476: error: expected `;' before "info_ptr"
Png.cpp:477: error: `png_bytep' undeclared (first use this function)
Png.cpp:477: error: expected `;' before "row_pointers"
Png.cpp:482: error: `png_ptr' undeclared (first use this function)
Png.cpp:482: error: `PNG_LIBPNG_VER_STRING' undeclared (first use this function)Png.cpp:482: error: `png_create_read_struct' undeclared (first use this function)
Png.cpp:495: error: `info_ptr' undeclared (first use this function)
Png.cpp:495: error: `png_create_info_struct' undeclared (first use this function)
Png.cpp:505: error: `png_destroy_read_struct' undeclared (first use this function)
Png.cpp:510: error: `png_jmpbuf' undeclared (first use this function)
Png.cpp:510: error: `setjmp' undeclared (first use this function)
Png.cpp:523: error: `png_set_read_fn' undeclared (first use this function)
Png.cpp:538: error: `png_read_info' undeclared (first use this function)
Png.cpp:540: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use this function)
Png.cpp:542: error: `png_set_expand' undeclared (first use this function)
Png.cpp:553: error: `row_pointers' undeclared (first use this function)
Png.cpp:553: error: `png_byte' undeclared (first use this function)
Png.cpp:553: error: expected primary-expression before ')' token
Png.cpp:553: error: expected `;' before "tmpBuf"
Png.cpp:570: error: `png_read_row' undeclared (first use this function)
Png.cpp: In function `int DecompressPng32(unsigned char*, int, unsigned int, unsigned int, unsigned int*)':
Png.cpp:605: error: `png_structp' undeclared (first use this function)
Png.cpp:605: error: expected `;' before "png_ptr"
Png.cpp:606: error: `png_infop' undeclared (first use this function)
Png.cpp:606: error: expected `;' before "info_ptr"
Png.cpp:607: error: `png_bytep' undeclared (first use this function)
Png.cpp:607: error: expected `;' before "row_pointers"
Png.cpp:611: error: `png_ptr' undeclared (first use this function)
Png.cpp:611: error: `PNG_LIBPNG_VER_STRING' undeclared (first use this function)Png.cpp:611: error: `png_create_read_struct' undeclared (first use this function)
Png.cpp:624: error: `info_ptr' undeclared (first use this function)
Png.cpp:624: error: `png_create_info_struct' undeclared (first use this function)
Png.cpp:634: error: `png_destroy_read_struct' undeclared (first use this function)
Png.cpp:639: error: `png_jmpbuf' undeclared (first use this function)
Png.cpp:639: error: `setjmp' undeclared (first use this function)
Png.cpp:652: error: `png_set_read_fn' undeclared (first use this function)
Png.cpp:667: error: `png_read_info' undeclared (first use this function)
Png.cpp:670: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use this function)
Png.cpp:672: error: `png_set_expand' undeclared (first use this function)
Png.cpp:683: error: `row_pointers' undeclared (first use this function)
Png.cpp:683: error: `png_byte' undeclared (first use this function)
Png.cpp:683: error: expected primary-expression before ')' token
Png.cpp:683: error: expected `;' before "tmpBuf"
Png.cpp:700: error: `png_read_row' undeclared (first use this function)
Png.cpp: At global scope:
Png.cpp:721: error: variable or field `PngReadData' declared void
Png.cpp:721: error: redefinition of `int PngReadData'
Png.cpp:71: error: `int PngReadData' previously defined here
Png.cpp:721: error: `png_structp' was not declared in this scope
Png.cpp:721: error: `png_bytep' was not declared in this scope
Png.cpp:721: error: `png_size_t' was not declared in this scope
Png.cpp:722: error: expected `,' or `;' before '{' token
make[4]: *** [Png.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nxcomp'
make[3]: *** [../../../nxcomp/libXcomp.so] Error 2
make[3]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nx-X11/lib/X11'
make[2]: *** [depend] Error 2
make[2]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nx-X11/lib'
make[1]: *** [depend] Error 2
make[1]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nx-X11'
make: *** [World] Error 2
!!! ERROR: net-misc/nx-x11-1.4.0-r4 failed.
Call stack:
ebuild.sh, line 1928: Called dyn_compile
ebuild.sh, line 966: Called src_compile
!!! unable to build nx-11
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
_________________ I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I? |
|
Back to top |
|
|
vyzivus Apprentice
Joined: 05 Jul 2004 Posts: 173 Location: Slovakia
|
Posted: Mon Feb 27, 2006 3:41 pm Post subject: |
|
|
Code: | emerge libpng imake gccmakedep rman |
took care of the problem. It seems as dependencies of the nx-x11 are broken. _________________ I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|