[FreeNX-kNX] Compile problem

Emmanuel Blindauer freenx at mooby.net
Sun Nov 4 18:23:54 UTC 2007


hello
the -lX11 here is not from the xorg-libs libX11.
you must follow the order of compilation for all tar.gz to have all files
Here the interesting part in my current debian/rules:

        #untar order:
        #nxcomp / can be built
        #nx-X11
        #nxcompext /can be built
        #nxwin
        #nxagent
        #nxauth /can build nx-X11 (include nxagent, nxauth, nxwin)
        #nxproxy /can be built
        #nxssh / can be built
        #nxesd / can be built
        #nxkill / can be built
        #nxsensor / can be built
        #nxspool / can be built
        #nxuexec / can be built

	cd nxcomp; ./configure; $(MAKE) -j4
        cd nxcompext; ./configure; $(MAKE) -j4
        cd nx-X11; $(MAKE) World
        cd nxproxy; ./configure; $(MAKE) -j4
        cd nxssh; ./configure; $(MAKE) -j4
        cd nxesd; ./configure; $(MAKE) -j4
        cd nxkill; ./configure; $(MAKE) -j4
        cd nxsensor; ./configure; $(MAKE) -j4
        cd nxspool/source; ./configure; $(MAKE) -j4
        cd nxuexec; ./configure; $(MAKE) -j4

The current nx tar ball doesn't compile correctly, I'm still getting some 
undefined DEFINE pending.

Le dimanche 04 novembre 2007, Daniel Chojecki a écrit :
> Hello,
>
> I'm trying to compile nx3.0.0 using Brent Davidson howto
> on Suse Linux Enterprise Server 10 with all updates.
>
> During nxcompext install i got following error:
> g++ -o libXcompext.so.3.0.0 -shared -Wl,-soname,libXcompext.so.3
> -L../nxcomp  NXlib.o Clean.o Mask.o Colormap.o Alpha.o Jpeg.o Pgn.o
> Bitmap.o Rgb.o Rle.o Z.o -ljpeg -lpng  -lz -lX11 -lXcomp
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld:
> cannot find -lX11
> collect2: ld returned 1 exit status
> make: *** [libXcompext.so.3.0.0] Error 1
>
> I have xorg-devel, xorg-libs.
>
> Configure script looks like:
> ./configure --x-includes="-I/usr/X11/include
> -I/usr/X11/lib/Server/include -I/usr/X11R6/include/X11"
> --x-libraries="-l/usr/X11R6/lib"
>
> Any idea ?
>
> --
> Best Regards,
> Daniel Chojecki
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________





More information about the FreeNX-kNX mailing list