Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90716 - none of the nx packages have amd64 keyword
Summary: none of the nx packages have amd64 keyword
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 07:35 UTC by Tiago Freire
Modified: 2005-04-28 14:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Freire 2005-04-28 07:35:13 UTC
nxserver / nxclient should run on the amd64 platform, but the ebuilds don't reflect that.

Reproducible: Always
Steps to Reproduce:
1.emerge nxserver-freenx
2.
3.

Actual Results:  
'missing keyword error'

Expected Results:  
I should be able to at least try to compile it, by unmasking the packages.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-28 09:18:06 UTC
First compile and test the ebuild and then ask for keywords, please... You can modify the ebuild yourself for testing. Feel free to reopen if it actually works for you. 
Comment 2 Tiago Freire 2005-04-28 09:47:39 UTC
I tested, but it didn't work. it barfed while compiling nxcomp, complaining that it had to be compiled with -fPIC. But the package is supposedto support amd64, at least as far as I looked into the code, there is stuff on the configure script testing for amd64. Should I file a bug anyway even if the ebuild does not compile for amd64? I don't know if this error occurs on x86 machines.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-04-28 10:13:53 UTC
OK, could you try to emerge net-misc/nxcomp with fPIC added to your CFLAGS?
Comment 4 Tiago Freire 2005-04-28 12:09:06 UTC
OK, here's the deal:
emerge -pv nxserver-freenx

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-misc/nx-x11-1.4.0-r4  +pic 0 kB
[ebuild  N    ] net-misc/nxproxy-1.4.0-r2  517 kB
[ebuild  N    ] dev-tcltk/expect-5.42.1-r1  -X -doc 512 kB
[ebuild  N    ] net-analyzer/gnu-netcat-0.7.1  -debug +nls 318 kB
[ebuild  N    ] net-misc/nxssh-1.4.0-r1  +ipv6 +pam +tcpd 825 kB
[ebuild  N    ] net-misc/nxserver-freenx-0.2.8  -commercial 25 kB

The failure happens when it is compiling nx-x11.
This package seems to have its own version of nxcomp, compiled independently (and possibly conflicting with) the ebuild net-misc/nxcomp. To verify this, (besides emerge -pv above) I noticed that the latest ebuild for net-misc/nxcomp is for version 1.3.2-r1, and nx-x11 installs nxcomp version 1.4.0. 
Furthermore, there is a 'pic' USE flag, but the ebuild does not seem to support it; I added -fPIC to my CFLAGS then. It still did not work, looks like nx-x11 ignores CFLAGS and sets its own.

\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes   MD5.c
cc1: warning: command line option "-Wno-deprecated" is valid for C++/ObjC++ but not for C
gcc -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   Pack.c
cc1: warning: command line option "-Wno-deprecated" is valid for C++/ObjC++ but not for C
g++ -o libXcomp.so.1.4.0 -Wl,-soname,libXcomp.so.1 Loop.o Binder.o Children.o Control.o Misc.o Socket.o Transport.o Statistics.o Proxy.o Channel.o ClientProxy.o ServerProxy.o OpcodeStore.o ClientStore.o ServerStore.o ChannelCache.o ClientCache.o ServerCache.o ClientChannel.o ServerChannel.o GenericChannel.o ReadBuffer.o ProxyReadBuffer.o ClientReadBuffer.o ServerReadBuffer.o GenericReadBuffer.o EncodeBuffer.o DecodeBuffer.o WriteBuffer.o SequenceQueue.o IntCache.o CharCache.o XidCache.o PositionCache.o TextCompressor.o BlockCache.o BlockCacheSet.o Compressor.o Decompressor.o Unpack.o Tight.o Jpeg.o Png.o Message.o Split.o Keeper.o ChangeProperty.o SendEvent.o ChangeGC.o CreateGC.o CreatePixmap.o SetClipRectangles.o CopyArea.o PolyLine.o PolySegment.o PolyFillRectangle.o PutImage.o TranslateCoords.o GetImage.o ClearArea.o ConfigureWindow.o PolyText8.o PolyText16.o ImageText8.o ImageText16.o PolyPoint.o PolyFillArc.o PolyArc.o FillPoly.o InternAtom.o GetProperty.o SetUnpackGeometry.o SetUnpackColormap.o SetUnpackAlpha.o PutPackedImage.o ShapeExtension.o RenderExtension.o GenericRequest.o QueryFontReply.o ListFontsReply.o GetImageReply.o GetPropertyReply.o GenericReply.o RenderGenericRequest.o RenderCreatePicture.o RenderChangePicture.o RenderFreePicture.o RenderSetPictureClipRectangles.o RenderCreateGlyphSet.o RenderAddGlyphs.o RenderComposite.o RenderCompositeGlyphs.o RenderFillRectangles.o MD5.o Pack.o -L../nx-X11/exports/lib  -shared  -lpng -ljpeg -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: Loop.o: relocation R_X86_64_32 against `std::cerr' can not be used when making a shared object; recompile with -fPIC
Loop.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libXcomp.so.1.4.0] 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


emerge info:


Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-vanilla, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 12:46:51)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="i-O2 -march=k8 -pipe -fPIC "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="i-O2 -march=k8 -pipe -fPIC "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa arts berkdb bitmap-fonts cdr crypt cups curl esd fam flac font-server foomaticdb fortran gif gpm gtk imlib ipv6 jack java jp2 jpeg junit kde ldap libwww lzw lzw-tiff mad mcal motif mp3 mysql nas ncurses nls odbc ogg opengl oss pam perl pic png postgres python qt readline samba scanner sdl slang snmp speex sqlite ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 5 Tiago Freire 2005-04-28 12:16:17 UTC
Oops, I hade a typo in my CFLAGS (an 'i' before -O2). I think it shouldn't interfere with the compilation, but tried to re-emerge again.

gcc -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   MD5.c
cc1: warning: command line option "-Wno-deprecated" is valid for C++/ObjC++ but not for C
gcc -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   Pack.c
cc1: warning: command line option "-Wno-deprecated" is valid for C++/ObjC++ but not for C
g++ -o libXcomp.so.1.4.0 -Wl,-soname,libXcomp.so.1 Loop.o Binder.o Children.o Control.o Misc.o Socket.o Transport.o Statistics.o Proxy.o Channel.o ClientProxy.o ServerProxy.o OpcodeStore.o ClientStore.o ServerStore.o ChannelCache.o ClientCache.o ServerCache.o ClientChannel.o ServerChannel.o GenericChannel.o ReadBuffer.o ProxyReadBuffer.o ClientReadBuffer.o ServerReadBuffer.o GenericReadBuffer.o EncodeBuffer.o DecodeBuffer.o WriteBuffer.o SequenceQueue.o IntCache.o CharCache.o XidCache.o PositionCache.o TextCompressor.o BlockCache.o BlockCacheSet.o Compressor.o Decompressor.o Unpack.o Tight.o Jpeg.o Png.o Message.o Split.o Keeper.o ChangeProperty.o SendEvent.o ChangeGC.o CreateGC.o CreatePixmap.o SetClipRectangles.o CopyArea.o PolyLine.o PolySegment.o PolyFillRectangle.o PutImage.o TranslateCoords.o GetImage.o ClearArea.o ConfigureWindow.o PolyText8.o PolyText16.o ImageText8.o ImageText16.o PolyPoint.o PolyFillArc.o PolyArc.o FillPoly.o InternAtom.o GetProperty.o SetUnpackGeometry.o SetUnpackColormap.o SetUnpackAlpha.o PutPackedImage.o ShapeExtension.o RenderExtension.o GenericRequest.o QueryFontReply.o ListFontsReply.o GetImageReply.o GetPropertyReply.o GenericReply.o RenderGenericRequest.o RenderCreatePicture.o RenderChangePicture.o RenderFreePicture.o RenderSetPictureClipRectangles.o RenderCreateGlyphSet.o RenderAddGlyphs.o RenderComposite.o RenderCompositeGlyphs.o RenderFillRectangles.o MD5.o Pack.o -L../nx-X11/exports/lib  -shared  -lpng -ljpeg -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: Loop.o: relocation R_X86_64_32 against `std::cerr' can not be used when making a shared object; recompile with -fPIC
Loop.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libXcomp.so.1.4.0] 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


emerge info:


Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-vanilla, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 12:46:51)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -pipe -fPIC "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -fPIC "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa arts berkdb bitmap-fonts cdr crypt cups curl esd fam flac font-server foomaticdb fortran gif gpm gtk imlib ipv6 jack java jp2 jpeg junit kde ldap libwww lzw lzw-tiff mad mcal motif mp3 mysql nas ncurses nls odbc ogg opengl oss pam perl pic png postgres python qt readline samba scanner sdl slang snmp speex sqlite ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-04-28 12:41:10 UTC
Hmm, seems this won
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-04-28 12:41:10 UTC
Hmm, seems this won´t work, at least without some patch. Reopen if you find a solution. 
Comment 8 Tiago Freire 2005-04-28 13:43:00 UTC
DISCLAIMER: I am not a C/C++ coder.
I proceeded deleting the /var/tmp/portage/nx-X11-1.4.0-r4/ directory.
Then I unpacked the ebuild:
$ ebuild /usr/portage/net-misc/nx-X11/nx-X11-1.4.0-r4.ebuild unpack
$ cd /var/tmp/portage/nx-X11-1.4.0-r4/work/nxcomp

found these two lines in configure:
line 1239:CXXFLAGS="-O3"
line 1240:CPPFLAGS="-O3"
which I changed to:
line 1239:CXXFLAGS="-O3 -fPIC"
line 1240:CPPFLAGS="-O3 -fPIC"

then I compiled the ebuild:
$ ebuild /usr/portage/net-misc/nx-X11/nx-X11-1.4.0-r4.ebuild compile

and it barfed again on nx viewer:

x86_64-pc-linux-gnu-gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I../include -I.   -I/usr/include/X11 -I../../nxcomp -I../../nxcompext -I../../nx-X11/exports/include  -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                            -D_POSIX_SOURCE -D_XOPEN_SOURCE           -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO       -c -o tunnel.o tunnel.c
x86_64-pc-linux-gnu-gcc -O2 -fno-strength-reduce -fno-strict-aliasing    -I../include -I.   -I/usr/include/X11 -I../../nxcomp -I../../nxcompext -I../../nx-X11/exports/include  -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                            -D_POSIX_SOURCE -D_XOPEN_SOURCE           -D_BSD_SOURCE -D_SVID_SOURCE                                                               -DFUNCPROTO=15 -DNARROWPROTO       -c -o vncviewer.o vncviewer.c
rm -f nxviewer
x86_64-pc-linux-gnu-gcc -o nxviewer -O2 -fno-strength-reduce -fno-strict-aliasing      -L../../nx-X11/exports/lib   argsresources.o   colour.o   cursor.o   desktop.o   dialogs.o   fullscreen.o   listen.o   misc.o   popup.o   rfbproto.o   selection.o   shm.o   sockets.o   tunnel.o   vncviewer.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 ./libvncauth.a -L/usr/local/lib -lz -L/usr/local/lib -ljpeg -L../../nxcomp -lXcomp -L../../nxcompext -lXcompext
../../nxcompext/libXcompext.a(NXlib.o)(.text+0xea): In function `NXGetControlParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x227): In function `NXGetControlParameters':
: undefined reference to `_NXLostSequenceFunction'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x231): In function `NXGetControlParameters':
: undefined reference to `_NXFlushSize'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x254): In function `NXGetControlParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x2ee): In function `NXGetCleanupParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3a5): In function `NXGetCleanupParameters':
: undefined reference to `_NXCleanupEnvironmentCached'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3b0): In function `NXGetCleanupParameters':
: undefined reference to `_NXEnableCleanAlloc'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3b6): In function `NXGetCleanupParameters':
: undefined reference to `_NXEnableCleanFlush'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3c0): In function `NXGetCleanupParameters':
: undefined reference to `_NXEnableCleanSend'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3c7): In function `NXGetCleanupParameters':
: undefined reference to `_NXEnableCleanImages'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3ce): In function `NXGetCleanupParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x3f7): In function `NXGetCleanupParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x48e): In function `NXGetImageParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x53b): In function `NXGetImageParameters':
: undefined reference to `_NXEnableImageSplit'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x542): In function `NXGetImageParameters':
: undefined reference to `_NXEnableImageMask'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x548): In function `NXGetImageParameters':
: undefined reference to `_NXEnableImageFrame'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x55d): In function `NXGetImageParameters':
: undefined reference to `_NXColorParams'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x566): In function `NXGetImageParameters':
: undefined reference to `_NXColorParams'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x571): In function `NXGetImageParameters':
: undefined reference to `_NXColorParams'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x57c): In function `NXGetImageParameters':
: undefined reference to `_NXColorParams'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x595): In function `NXGetImageParameters':
: undefined reference to `_NXSplitParams'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x5a0): In function `NXGetImageParameters':
: undefined reference to `_NXSplitParams'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x5a9): In function `NXGetImageParameters':
: undefined reference to `_NXSplitParams'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x5b2): In function `NXGetImageParameters':
: undefined reference to `_NXSplitParams'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x5be): In function `NXGetImageParameters':
: undefined reference to `_NXImageEnvironmentCached'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x60b): In function `NXGetImageParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x687): In function `NXGetUnpackParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x723): In function `NXGetUnpackParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x804): In function `NXGetShmemParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x8e6): In function `NXGetShmemParameters':
: undefined reference to `_NXEnableCleanGet'
../../nxcompext/libXcompext.a(NXlib.o)(.text+0x971): more undefined references to `_NXEnableCleanGet' follow
collect2: ld returned 1 exit status
make[2]: *** [nxviewer] Error 1
make[2]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nxviewer/nxviewer'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r4/work/nxviewer'
make: *** [World] Error 2

I am stumped on this one, no idea on how to proceed. Any help?
Comment 9 Tiago Freire 2005-04-28 14:06:14 UTC
procceeded to try to compile stuff like the ebuild 
entered into nx-x11 file and ran
'make World' 
and it compiled ok.

but when I cd'ed to nxviewerand ran
xmkmf
make World

The same error above ocurred.