Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-server-1.12.2 error undefined reference to `gzgetc_@ZL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ustone
n00b
n00b


Joined: 13 Mar 2012
Posts: 22

PostPosted: Mon Aug 13, 2012 7:19 am    Post subject: xorg-server-1.12.2 error undefined reference to `gzgetc_@ZL Reply with quote

Hello,

emerging xorg-server failed because of a undefined reference. Has anybody any suggestions?

Thanx in advance..

build log for the relevant part:
Code:


make[4]: Entering directory `/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2_build/hw/xfree86'
CPP='x86_64-pc-linux-gnu-gcc -std=gnu99 -E' AWK='gawk' /bin/sh /var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/sdksyms.sh /var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2 -march=native -O2 -pipe -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/pixman-1 -I/usr/include/freetype2   -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include -I../../include -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/Xext -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/composite -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/damageext -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/xfixes -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/Xi -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/mi -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/miext/sync -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/miext/shadow  -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/miext/damage -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/render -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/randr -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/fb -fvisibility=hidden  -DHAVE_XORG_CONFIG_H -fvisibility=hidden   -DXF86PM   -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86 -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/include -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/os-support -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/os-support/bus -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/os -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/parser -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/miext/cw -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/ddc -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/i2c -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes -I/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/ramdac
  CC       sdksyms.o
In file included from /var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Crtc.h:27:0,
                 from sdksyms.c:83:
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/randr/randrstr.h:586:1: warning: redundant redeclaration of 'RRTransformCompute'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/randr/rrtransform.h:62:1: note: previous declaration of 'RRTransformCompute' was here
In file included from /var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Crtc.h:31:0,
                 from sdksyms.c:83:
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:43:25: warning: redundant redeclaration of 'xf86ModeHSync'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:411:1: note: previous declaration of 'xf86ModeHSync' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:44:25: warning: redundant redeclaration of 'xf86ModeVRefresh'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:413:1: note: previous declaration of 'xf86ModeVRefresh' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:53:33: warning: redundant redeclaration of 'xf86DuplicateMode'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:419:1: note: previous declaration of 'xf86DuplicateMode' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:54:33: warning: redundant redeclaration of 'xf86DuplicateModes'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:421:1: note: previous declaration of 'xf86DuplicateModes' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:56:23: warning: redundant redeclaration of 'xf86SetModeDefaultName'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:415:1: note: previous declaration of 'xf86SetModeDefaultName' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:57:23: warning: redundant redeclaration of 'xf86SetModeCrtc'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:417:1: note: previous declaration of 'xf86SetModeCrtc' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:58:23: warning: redundant redeclaration of 'xf86ModesEqual'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:423:1: note: previous declaration of 'xf86ModesEqual' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:60:23: warning: redundant redeclaration of 'xf86PrintModeline'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:425:1: note: previous declaration of 'xf86PrintModeline' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:61:33: warning: redundant redeclaration of 'xf86ModesAdd'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:427:1: note: previous declaration of 'xf86ModesAdd' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:65:33: warning: redundant redeclaration of 'xf86CVTMode'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/common/xf86.h:196:33: note: previous declaration of 'xf86CVTMode' was here
In file included from sdksyms.c:91:0:
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/ddc/xf86DDC.h:48:33: warning: redundant redeclaration of 'xf86DDCGetModes'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/hw/xfree86/modes/xf86Modes.h:64:33: note: previous declaration of 'xf86DDCGetModes' was here
In file included from sdksyms.c:269:0:
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixevents.h:81:23: warning: redundant redeclaration of 'PostSyntheticMotion'
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/input.h:475:13: note: previous declaration of 'PostSyntheticMotion' was here
In file included from sdksyms.c:270:0:
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation'
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID'
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions'
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize'
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID'
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers'
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions'
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers'
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2/include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont'
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
sdksyms.c:399:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:455:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:750:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:1004:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:1028:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:1125:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:1126:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:1681:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:1682:5: warning: cast discards qualifiers from pointer target type
sdksyms.c:1683:5: warning: cast discards qualifiers from pointer target type
  CCLD     Xorg
/usr/lib64/libfontenc.so.1: undefined reference to `gzgetc_@ZLIB_1.2.5.2'
collect2: ld returned 1 exit status
make[4]: *** [Xorg] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2_build/hw/xfree86'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2_build/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2_build/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2_build/hw'
make: *** [all-recursive] Error 1
 * ERROR: x11-base/xorg-server-1.12.2 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-base/xorg-server-1.12.2'`,
 * the complete build log and the output of `emerge -pqv '=x11-base/xorg-server-1.12.2'`.
 * The complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.12.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.12.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2_build'
 * S: '/var/tmp/portage/x11-base/xorg-server-1.12.2/work/xorg-server-1.12.2'

>>> Failed to emerge x11-base/xorg-server-1.12.2, Log file:

>>>  '/var/tmp/portage/x11-base/xorg-server-1.12.2/temp/build.log'


Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1559
Location: Berlin, Germany

PostPosted: Tue Aug 14, 2012 11:51 pm    Post subject: Reply with quote

Code:
 /usr/lib64/libfontenc.so.1: undefined reference to `gzgetc_@ZLIB_1.2.5.2'
It is not directly xorg-server which fails, it is libfontenc.so.1 which became unusable.

And it fails because you apparently downgraded zlib:
Code:
# qlop -lu sys-libs/zlib
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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