[FreeNX-kNX] How do you compile nxcompsh?

Jon Scruggs j.scruggs at gmail.com
Mon Jul 10 22:07:14 UTC 2006


Hi,

I am having trouble compiling nxcompsh 2.0.0-4.

I extract it out, and then run:
~/NX-2.0.0/source/nxcompsh $ ./configure --prefix="/usr/NX/"

The configure seems to go alright, and so then I run:
~/NX-2.0.0/source/nxcompsh $ make

But this quickly errors out with the following error:
gcc -shared -o cygXcompsh.dll \
                -Wl,--out-implib=libXcompsh.dll.a \
                -Wl,--export-all-symbols \
                -Wl,--enable-auto-import \
                -Wl,--whole-archive libXcompsh.a \
                -Wl,--no-whole-archive -shared  -lpng -ljpeg -lz \
                -Wl,-soname,libXcompsh.so.2
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
unrecognized option '--out-implib=libXcompsh.dll.a'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
use the --help option for usage information
collect2: ld returned 1 exit status
make: *** [cygXcompsh.dll] Error 1


I am using version 2.17 of binutils. Is this the issue? Do I need to
downgrade? Or am I missing dependencies? This DLL is not needed for
Linux, so why is it even trying to build it? Or, am I missing
something here? Also, is there a way I can patch it so it doesn't
build this DLL? *whistles*

Thanks.
Jon



More information about the FreeNX-kNX mailing list