[X2Go-Dev] nx-libs 3.6 compile error
Mihai Moldovan
ionic at ionic.de
Thu Apr 30 00:20:37 CEST 2015
On 29.04.2015 11:27 PM, Orion Poplawski wrote:
> I figured I would try to compile the 3.6 branch of nx-libs. I get this:
>
> gcc -o nxagent -g -O2 -g -pipe -Wall -Werror=format-security
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
> --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
> -fno-strict-aliasing -ansi -Wall -Wpointer-arith -Wundef
> -L../../exports/lib hw/nxagent/miinitext.o
> hw/nxagent/NXwindow.o hw/nxagent/NXevents.o
> hw/nxagent/NXproperty.o hw/nxagent/NXdixfonts.o
> hw/nxagent/NXglyphcurs.o hw/nxagent/NXdispatch.o
> hw/nxagent/NXrender.o hw/nxagent/NXglyph.o
> hw/nxagent/NXpicture.o
> hw/nxagent/NXextension.o hw/nxagent/NXglxext.o
> hw/nxagent/NXxvdisp.o hw/nxagent/NXmiglyph.o
> hw/nxagent/NXmiexpose.o hw/nxagent/NXresource.o
> hw/nxagent/NXmiwindow.o hw/nxagent/NXdamage.o
> dix/libdix.a os/libos.a hw/nxagent/libnxagent.a fb/libfb.a
> composite/libcomposite.a damageext/libdamage.a miext/damage/libdamage.a
> xfixes/libxfixes.a miext/cw/libcw.a Xext/libext.a xkb/libxkb.a
> os/libos.a Xi/libxinput.a dbe/libdbe.a record/librecord.a
> XTrap/libxtrap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a
> randr/librandr.a render/librender.a mi/libmi.a
> composite/libcomposite.a damageext/libdamage.a miext/damage/libdamage.a
> xfixes/libxfixes.a miext/cw/libcw.a Xext/libext.a xkb/libxkb.a
> os/libos.a Xi/libxinput.a dbe/libdbe.a record/librecord.a
> XTrap/libxtrap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a
> randr/librandr.a render/librender.a hw/nxagent/libnxagent.a
> mi/libmi.a -L../../exports/lib -lNX_Xext -lNX_X11 -lm
> -lXpm -L ../../../nxcomp -L ../../../nxcompext -L ../../../nxcompshad
> -lXcomp -lXcompext -lXcompshad -lNX_Xrender -lNX_X11 -lNX_Xext
> -lNX_Xfixes -lXfont -L../../../nx-X11/exports/lib -lNX_Xtst
> -lNX_Xdamage -lNX_Xrandr -lNX_Xcomposite -lNX_Xinerama -lXdmcp `pkg-config
> --libs libxml-2.0` -Wl,-rpath-link,../../exports/lib
> /bin/ld: ../../exports/lib/libNX_X11.so: undefined reference to symbol 'deflate'
> /lib64/libz.so.1: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> Makefile:1064: recipe for target 'nxagent' failed
> make[6]: *** [nxagent] Error 1
>
>
> looks like you need to add -lz when linking libNX_X11.so.
Thanks!
Btw, current 3.6.x (the Arctica github repository is authoritative for that
branch) will also fail due to my latest change, even if -lz is added. I'll be
fixing it shortly. Just a heads-up so you don't worry.
Mihai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150430/b2f95057/attachment.pgp>
More information about the x2go-dev
mailing list