Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xandr compile error.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Niimura
n00b
n00b


Joined: 05 Jul 2004
Posts: 63

PostPosted: Wed May 09, 2007 9:31 am    Post subject: xandr compile error. Reply with quote

I got this error when I compile xandr to upgrade xorg-x11.

/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXSplitParams'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXEnableCleanAlloc'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXEnableCleanFlush'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXLostSequenceFunction'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXEnableImageFrame'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXFlushSize'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXColorParams'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXEnableImageSplit'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXEnableCleanImages'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXEnableImageMask'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXImageEnvironmentCached'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXCleanupEnvironmentCached'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXEnableCleanGet'
/usr/NX/lib/libXcompext.so.1: undefined reference to `_NXEnableCleanSend'
collect2: ld returned 1 exit status
make[1]: *** [xrandr] Error 1
make[1]: Leaving directory `/var/tmp/portage/xrandr-1.2.0/work/xrandr-1.2.0'
make: *** [all] Error 2

!!! ERROR: x11-apps/xrandr-1.2.0 failed.
!!! Function x-modular_src_make, Line 337, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

I tried to change the make.conf file, but it didn't help. Anyone can solve it?
Back to top
View user's profile Send private message
Niimura
n00b
n00b


Joined: 05 Jul 2004
Posts: 63

PostPosted: Wed May 09, 2007 7:15 pm    Post subject: Reply with quote

Uninstall nxclient solves the problem..Thanks.
Back to top
View user's profile Send private message
charlesnadeau
Apprentice
Apprentice


Joined: 19 May 2003
Posts: 205
Location: Ottawa, Ontario, Canada

PostPosted: Tue May 15, 2007 2:06 am    Post subject: Reply with quote

I have a problem too when trying to compile xrandr:

Code:

config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/var/tmp/portage/x11-apps/xrandr-1.2.0/work/xrandr-1.2.0'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -march=athlon-mp -O3 -pipe -fomit-frame-pointer -MT xrandr.o -MD -MP -MF ".deps/xrandr.Tpo" -c -o xrandr.o xrandr.c; \
        then mv -f ".deps/xrandr.Tpo" ".deps/xrandr.Po"; else rm -f ".deps/xrandr.Tpo"; exit 1; fi
sed -e 's|__vendorversion__|"xrandr 1.2.0" "X Version 11"|' -e 's|__xorgversion__|"xrandr 1.2.0" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1x|g' -e 's|__libmansuffix__|3x|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5x|g' < xrandr.man > xrandr.1x
i686-pc-linux-gnu-gcc  -march=athlon-mp -O3 -pipe -fomit-frame-pointer   -o xrandr  xrandr.o -lXrandr -lXrender -lX11
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_destroy_write_struct@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_write_end@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_set_compression_level@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_set_write_fn@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_write_row@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_get_io_ptr@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_create_write_struct@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_set_IHDR@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_set_PLTE@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_create_info_struct@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_write_info@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_malloc@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_free@PNG12_0'
collect2: ld returned 1 exit status
make[1]: *** [xrandr] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-apps/xrandr-1.2.0/work/xrandr-1.2.0'
make: *** [all] Error 2

!!! ERROR: x11-apps/xrandr-1.2.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3837:   Called src_compile
  ebuild.sh, line 1304:   Called x-modular_src_compile
  x-modular.eclass, line 342:   Called x-modular_src_make
  x-modular.eclass, line 337:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/x11-apps:xrandr-1.2.0:20070515-020045.log'.


Emerging libpng then emergging xrandr again doesn't solve the problem...

Thanks!

Charles
_________________
Charles Nadeau
http://radio.weblogs.com/0111823/
http://charlesnadeau.blogspot.com/search/label/Gentoo
Back to top
View user's profile Send private message
charlesnadeau
Apprentice
Apprentice


Joined: 19 May 2003
Posts: 205
Location: Ottawa, Ontario, Canada

PostPosted: Tue May 15, 2007 2:23 am    Post subject: Reply with quote

Simillar message when emerging xorg-server:

Code:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../hw/xfree86 -I../../../../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -I../../../../hw/xfree86/parser   -DHAVE_XORG_CONFIG_H -DXF86PM -DHAS_NCURSES  -DXKB_RULES_DIR=\"/usr/share/X11/xkb/rules\" -DPROJECT_ROOT=\"/usr\" -DOPTIONSPATH=\"/usr/lib/X11\" -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2   -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow  -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -march=athlon-mp -O3 -pipe -fomit-frame-pointer -MT xorgcfg-strlcpy.o -MD -MP -MF ".deps/xorgcfg-strlcpy.Tpo" -c -o xorgcfg-strlcpy.o `test -f '../../../../os/strlcpy.c' || echo './'`../../../../os/strlcpy.c; \
        then mv -f ".deps/xorgcfg-strlcpy.Tpo" ".deps/xorgcfg-strlcpy.Po"; else rm -f ".deps/xorgcfg-strlcpy.Tpo"; exit 1; fi
../../../../os/strlcat.c:37: warning: no previous prototype for 'strlcat'
/usr/bin/cpp -undef -traditional -D__VENDORNAME__="X.Org" -D__VENDORVERS__="Version 7.2" < XOrgCfg.pre | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > XOrgCfg
rm -f xorgcfg.1
ln -s xorgcfg.man xorgcfg.1
../../../../hw/xfree86/os-support/shared/libc_wrapper.c: In function 'xf86strlcat':
../../../../hw/xfree86/os-support/shared/libc_wrapper.c:263: warning: implicit declaration of function 'strlcat'
../../../../hw/xfree86/os-support/shared/libc_wrapper.c:263: warning: nested extern declaration of 'strlcat'
../../../../hw/xfree86/os-support/shared/libc_wrapper.c: In function 'xf86strlcpy':
../../../../hw/xfree86/os-support/shared/libc_wrapper.c:269: warning: implicit declaration of function 'strlcpy'
../../../../hw/xfree86/os-support/shared/libc_wrapper.c:269: warning: nested extern declaration of 'strlcpy'
../../../../os/strlcpy.c:34: warning: no previous prototype for 'strlcpy'
/bin/sh ../../../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2   -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow  -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -march=athlon-mp -O3 -pipe -fomit-frame-pointer  -Wl,-z,lazy -o xorgcfg  xorgcfg-accessx.o xorgcfg-card-cfg.o xorgcfg-cards.o xorgcfg-config.o xorgcfg-expert.o xorgcfg-help.o xorgcfg-interface.o xorgcfg-keyboard-cfg.o xorgcfg-libc_wrapper.o xorgcfg-loader.o xorgcfg-loadmod.o xorgcfg-monitor-cfg.o xorgcfg-mouse-cfg.o xorgcfg-options.o xorgcfg-screen-cfg.o xorgcfg-screen.o xorgcfg-startx.o xorgcfg-stubs.o xorgcfg-text-mode.o xorgcfg-vidmode.o xorgcfg-xf86config.o xorgcfg-strlcat.o xorgcfg-strlcpy.o -lxkbui -lxkbfile -lXxf86misc -lXxf86vm -lXaw7 -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11   -lcurses ../../parser/libxf86config.a ../../loader/libloader.a ../../os-support/libxorgos.la ../../dummylib/libdummy-nonserver.a  -lrt
mkdir .libs
i686-pc-linux-gnu-gcc -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -march=athlon-mp -O3 -pipe -fomit-frame-pointer -Wl,-z -Wl,lazy -o xorgcfg xorgcfg-accessx.o xorgcfg-card-cfg.o xorgcfg-cards.o xorgcfg-config.o xorgcfg-expert.o xorgcfg-help.o xorgcfg-interface.o xorgcfg-keyboard-cfg.o xorgcfg-libc_wrapper.o xorgcfg-loader.o xorgcfg-loadmod.o xorgcfg-monitor-cfg.o xorgcfg-mouse-cfg.o xorgcfg-options.o xorgcfg-screen-cfg.o xorgcfg-screen.o xorgcfg-startx.o xorgcfg-stubs.o xorgcfg-text-mode.o xorgcfg-vidmode.o xorgcfg-xf86config.o xorgcfg-strlcat.o xorgcfg-strlcpy.o  /usr/lib/libxkbui.so -lm /usr/lib/libxkbfile.so /usr/lib/libXxf86misc.so /usr/lib/libXxf86vm.so /usr/lib/libXaw7.so /usr/lib/libXmu.so /usr/lib/libXt.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXpm.so /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lcurses ../../parser/libxf86config.a ../../loader/libloader.a ../../os-support/.libs/libxorgos.a ../../dummylib/libdummy-nonserver.a -lrt
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_destroy_write_struct@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_write_end@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_set_compression_level@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_set_write_fn@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_write_row@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_get_io_ptr@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_create_write_struct@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_set_IHDR@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_set_PLTE@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_create_info_struct@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_write_info@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_malloc@PNG12_0'
/usr/NX/lib/libXcompext.so.1: undefined reference to `png_free@PNG12_0'
collect2: ld returned 1 exit status
make[6]: *** [xorgcfg] Error 1
make[6]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/xfree86/utils/xorgcfg'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/xfree86/utils/xorgcfg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/xfree86/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.2.0-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3984:   Called src_compile
  ebuild.sh, line 1304:   Called x-modular_src_compile
  x-modular.eclass, line 342:   Called x-modular_src_make
  x-modular.eclass, line 337:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/x11-base:xorg-server-1.2.0-r3:20070515-020533.log'.


Again unmerging then emerging libpng doesn't solve the problem.
Thanks!

Charles
_________________
Charles Nadeau
http://radio.weblogs.com/0111823/
http://charlesnadeau.blogspot.com/search/label/Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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