gtk: make errors: multiple defnitions ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
   While compiling GTK i had got the error :

checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found. Check 'config.log' for more details.


So, config.log looked something as shown:
configure:28833: result: no
configure:28865: checking for XOpenDisplay in -lX11
configure:28895: /usr/local/arm/3.4.1/bin/arm-linux-gcc -o conftest
-I/usr/local/arm/3.4.1/arm-linux/include -Wall
-I/usr/local/arm/3.4.1/arm-linux/include
-L/usr/local/arm/3.4.1/arm-linux/lib conftest.c -lX11  -Wl,--rpath
-Wl,/usr/local/arm/3.4.1/arm-linux/lib
-L/usr/local/arm/3.4.1/arm-linux/lib -lXft -lX11 -lfreetype -lz
-lXrender -lX11   >&5
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternAddInteger'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternAddBool'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternGetBool'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcFreeTypeCharSet'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcNameUnparse'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcNameConstant'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcObjectSetDestroy'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternDuplicate'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcCharSetHasChar'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcFontList'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcUtf16ToUcs4'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcUtf8ToUcs4'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternVaBuild'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternGetDouble'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternGetString'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to `FcInit'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternGetInteger'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternGetCharSet'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternCreate'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternAddString'
/usr/local/arm/3.4.1/arm-linux/lib/libXft.so: undefined reference to
`FcPatternGet'









So, I figured out that these functions come from fontconfig library
and added -lfontconfig to LDFLAGS.

Now, The Configure works fine.

last lines of configure:

config.status: creating gtk/gtk-win32.rc
config.status: creating gtk/stock-icons/Makefile
config.status: creating gtk/theme-bits/Makefile
config.status: creating gtk/xdgmime/Makefile
config.status: creating modules/Makefile
config.status: creating modules/input/Makefile
config.status: creating modules/engines/Makefile
config.status: creating modules/engines/pixbuf/Makefile
config.status: creating modules/engines/ms-windows/Makefile
config.status: creating modules/engines/ms-windows/Theme/Makefile
config.status: creating modules/engines/ms-windows/Theme/gtk-2.0/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing gdk/gdkconfig.h commands
config.status: gdk/gdkconfig.h is unchanged
configuration:
        target: x11







But, When i say make:




Make gives out the following errors:

/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccache.o)(.text+0x1c9c):
In function `FcGlobalCacheLoad':
: multiple definition of `FcGlobalCacheLoad'
pixops/.libs/libpixops.a(fccache.o)(.text+0x1c9c): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccache.o)(.text+0x20c0):
In function `FcGlobalCacheUpdate':
: multiple definition of `FcGlobalCacheUpdate'
pixops/.libs/libpixops.a(fccache.o)(.text+0x20c0): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccache.o)(.text+0x21c8):
In function `FcGlobalCacheSave':
: multiple definition of `FcGlobalCacheSave'
pixops/.libs/libpixops.a(fccache.o)(.text+0x21c8): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccache.o)(.text+0x2614):
In function `FcDirCacheValid':
: multiple definition of `FcDirCacheValid'
pixops/.libs/libpixops.a(fccache.o)(.text+0x2614): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccache.o)(.text+0x26dc):
In function `FcDirCacheReadDir':
: multiple definition of `FcDirCacheReadDir'
pixops/.libs/libpixops.a(fccache.o)(.text+0x26dc): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccache.o)(.text+0x2b74):
In function `FcDirCacheWriteDir':
: multiple definition of `FcDirCacheWriteDir'
pixops/.libs/libpixops.a(fccache.o)(.text+0x2b74): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x0):
In function `FcConfigCreate':
: multiple definition of `FcConfigCreate'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x0): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3508):
In function `FcConfigHome':
: multiple definition of `FcConfigHome'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3508): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xb84):
In function `FcConfigSetCache':
: multiple definition of `FcConfigSetCache'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xb84): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x388):
In function `FcConfigUptoDate':
: multiple definition of `FcConfigUptoDate'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x388): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x8b8):
In function `FcConfigGetCurrent':
: multiple definition of `FcConfigGetCurrent'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x8b8): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x548):
In function `FcConfigDestroy':
: multiple definition of `FcConfigDestroy'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x548): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x6a8):
In function `FcConfigBuildFonts':
: multiple definition of `FcConfigBuildFonts'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x6a8): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xa48):
In function `FcConfigGetFontDirs':
: multiple definition of `FcConfigGetFontDirs'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xa48): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xcd0):
In function `FcConfigSetFonts':
: multiple definition of `FcConfigSetFonts'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xcd0): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x838):
In function `FcConfigSetCurrent':
: multiple definition of `FcConfigSetCurrent'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x838): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x90c):
In function `FcConfigAddConfigDir':
: multiple definition of `FcConfigAddConfigDir'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x90c): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x944):
In function `FcConfigGetConfigDirs':
: multiple definition of `FcConfigGetConfigDirs'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x944): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x9a8):
In function `FcConfigAddFontDir':
: multiple definition of `FcConfigAddFontDir'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x9a8): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x9e0):
In function `FcConfigAddDir':
: multiple definition of `FcConfigAddDir'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x9e0): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xaac):
In function `FcConfigAddConfigFile':
: multiple definition of `FcConfigAddConfigFile'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xaac): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x35a0):
In function `FcConfigFilename':
: multiple definition of `FcConfigFilename'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x35a0): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xb20):
In function `FcConfigGetConfigFiles':
: multiple definition of `FcConfigGetConfigFiles'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xb20): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xc00):
In function `FcConfigGetCache':
: multiple definition of `FcConfigGetCache'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xc00): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xc5c):
In function `FcConfigGetFonts':
: multiple definition of `FcConfigGetFonts'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xc5c): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xd58):
In function `FcConfigGetBlanks':
: multiple definition of `FcConfigGetBlanks'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xd58): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xdb4):
In function `FcConfigAddBlank':
: multiple definition of `FcConfigAddBlank'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xdb4): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xe4c):
In function `FcConfigGetRescanInverval':
: multiple definition of `FcConfigGetRescanInverval'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xe4c): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xea8):
In function `FcConfigSetRescanInverval':
: multiple definition of `FcConfigSetRescanInverval'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xea8): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0xf10):
In function `FcConfigAddEdit':
: multiple definition of `FcConfigAddEdit'
pixops/.libs/libpixops.a(fccfg.o)(.text+0xf10): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x1148):
In function `FcConfigCompareValue':
: multiple definition of `FcConfigCompareValue'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x1148): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x27c8):
In function `FcConfigSubstituteWithPat':
: multiple definition of `FcConfigSubstituteWithPat'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x27c8): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3040):
In function `FcConfigSubstitute':
: multiple definition of `FcConfigSubstitute'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3040): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3560):
In function `FcConfigEnableHome':
: multiple definition of `FcConfigEnableHome'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3560): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3714):
In function `FcConfigAppFontAddFile':
: multiple definition of `FcConfigAppFontAddFile'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3714): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3890):
In function `FcConfigAppFontAddDir':
: multiple definition of `FcConfigAppFontAddDir'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3890): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3a0c):
In function `FcConfigAppFontClear':
: multiple definition of `FcConfigAppFontClear'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3a0c): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3a5c):
In function `FcConfigGlobAdd':
: multiple definition of `FcConfigGlobAdd'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3a5c): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3ce8):
In function `FcConfigAcceptFilename':
: multiple definition of `FcConfigAcceptFilename'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3ce8): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3d64):
In function `FcConfigPatternsAdd':
: multiple definition of `FcConfigPatternsAdd'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3d64): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccfg.o)(.text+0x3e5c):
In function `FcConfigAcceptFont':
: multiple definition of `FcConfigAcceptFont'
pixops/.libs/libpixops.a(fccfg.o)(.text+0x3e5c): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccharset.o)(.text+0x0):
In function `FcCharSetCreate':
: multiple definition of `FcCharSetCreate'
pixops/.libs/libpixops.a(fccharset.o)(.text+0x0): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccharset.o)(.text+0x88):
In function `FcCharSetNew':
: multiple definition of `FcCharSetNew'
pixops/.libs/libpixops.a(fccharset.o)(.text+0x88): first defined here
/usr/local/arm/3.4.1/arm-linux/lib/libfontconfig.a(fccharset.o)(.text+0xa4):
In function `FcCharSetDestroy':







What could be the Problem ?. Cant figure it out ?.


Please Advice ?.


Regards,

/J
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux