AnsweredAssumed Answered

i.MX6s - building Xorg on Ltib: libX11 problem

Question asked by Paolo Miroglio on Mar 20, 2013
Latest reply on Mar 25, 2013 by Paolo Miroglio

Dear Sirs,

I'm encountering problem when building libX11 for Xorg on i.mx6s, i'm using the L3.0.35_3.0.0_121207 source on a Centos OS 6.4.

.spec file and all other configurations are kept by standard, on ltib mode i just selected "Build full modular", but also manually selection of this library is going wrong.

PLease check below the building process, it stops on the final part of the build, problem regards following objects:

xlibi18n/libi18n.a

xcms/libxcms.a

xkb/libxkb.a

 

as i can see from the last part of the build comand:

,--whole-archive xlibi18n/.libs/libi18n.a xcms/.libs/libxcms.a xkb/.libs/libxkb.a -Wl,--no-whole-archive  -L/sw/ltib/rootfs/usr/lib -lxcb-xlib -lxcb -ldl  -Wl,-soname -Wl,libX11.so.6 -o .libs/libX11.so.6.2.0

xlibi18n/.libs/libi18n.a: member xlibi18n/.libs/libi18n.a(lcSjis.o) in archive is not an object

 

I made already distclean and so on but nothing changes, so i think there is something unhandled in the makefile generation in the ./src or ./src/libi18n folders.

 

I'm trying to understand what can cause this problem, any help or suggestion could be helpful.

 

 

 

/bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -I../include/X11 -I../include -I../include/X11 -I../src/xcms -I../src/xkb -I../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes     -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/sw/ltib/rootfs/usr/include-I/sw/ltib/rootfs/usr/include   -I/sw/ltib/rootfs/usr/include   -I/sw/ltib/rootfs/usr/include-D_BSD_SOURCE -DX11_t -DTRANS_CLIENT -DMALLOC_0_RETURNS_NULL -g -O2 -version-number 6:2:0 -no-undefined  -o libX11.la -rpath /usr/lib AllCells.lo AllowEv.lo AllPlanes.lo AutoRep.lo Backgnd.lo BdrWidth.lo Bell.lo Border.lo ChAccCon.lo ChActPGb.lo ChClMode.lo ChCmap.lo ChGC.lo ChKeyCon.lo ChkIfEv.lo ChkMaskEv.lo ChkTypEv.lo ChkTypWEv.lo ChkWinEv.lo ChPntCon.lo ChProp.lo ChSaveSet.lo ChWAttrs.lo ChWindow.lo CirWin.lo CirWinDn.lo CirWinUp.lo ClDisplay.lo ClearArea.lo Clear.lo ConfWind.lo Context.lo ConvSel.lo CopyArea.lo CopyCmap.lo CopyGC.lo CopyPlane.lo CrBFData.lo CrCmap.lo CrCursor.lo CrGC.lo CrGlCur.lo CrPFBData.lo CrPixmap.lo CrWindow.lo Cursor.lo DefCursor.lo DelProp.lo Depths.lo DestSubs.lo DestWind.lo DisName.lo DrArc.lo DrArcs.lo DrLine.lo DrLines.lo DrPoint.lo DrPoints.lo DrRect.lo DrRects.lo DrSegs.lo ErrDes.lo ErrHndlr.lo evtomask.lo EvToWire.lo FetchName.lo FillArc.lo FillArcs.lo FillPoly.lo FillRct.lo FillRcts.lo FilterEv.lo Flush.lo Font.lo FontInfo.lo FontNames.lo FreeCmap.lo FreeCols.lo FreeCurs.lo FreeEData.lo FreeGC.lo FreePix.lo FSSaver.lo FSWrap.lo GCMisc.lo Geom.lo GetAtomNm.lo GetColor.lo GetDflt.lo GetFPath.lo GetFProp.lo GetGCVals.lo GetGeom.lo GetHColor.lo GetHints.lo GetIFocus.lo GetImage.lo GetKCnt.lo GetMoEv.lo GetNrmHint.lo GetPCnt.lo GetPntMap.lo GetProp.lo GetRGBCMap.lo GetSOwner.lo GetSSaver.lo GetStCmap.lo GetTxtProp.lo GetWAttrs.lo GetWMCMapW.lo GetWMProto.lo globals.lo GrButton.lo GrKeybd.lo GrKey.lo GrPointer.lo GrServer.lo Host.lo Iconify.lo IfEvent.lo imConv.lo ImText16.lo ImText.lo ImUtil.lo InitExt.lo InsCmap.lo IntAtom.lo KeyBind.lo KeysymStr.lo KillCl.lo LiHosts.lo LiICmaps.lo LiProps.lo ListExt.lo LoadFont.lo LockDis.lo locking.lo LookupCol.lo LowerWin.lo Macros.lo MapRaised.lo MapSubs.lo MapWindow.lo MaskEvent.lo Misc.lo ModMap.lo MoveWin.lo NextEvent.lo OCWrap.lo OMWrap.lo OpenDis.lo ParseCmd.lo ParseCol.lo ParseGeom.lo PeekEvent.lo PeekIfEv.lo Pending.lo PixFormats.lo PmapBgnd.lo PmapBord.lo PolyReg.lo PolyTxt16.lo PolyTxt.lo PropAlloc.lo PutBEvent.lo PutImage.lo Quarks.lo QuBest.lo QuColor.lo QuColors.lo QuCurShp.lo QuExt.lo QuKeybd.lo QuPntr.lo QuStipShp.lo QuTextE16.lo QuTextExt.lo QuTileShp.lo QuTree.lo RaiseWin.lo RdBitF.lo RecolorC.lo ReconfWin.lo ReconfWM.lo Region.lo RegstFlt.lo RepWindow.lo RestackWs.lo RotProp.lo ScrResStr.lo SelInput.lo SendEvent.lo SetBack.lo SetClMask.lo SetClOrig.lo SetCRects.lo SetDashes.lo SetFont.lo SetFore.lo SetFPath.lo SetFunc.lo SetHints.lo SetIFocus.lo SetLocale.lo SetLStyle.lo SetNrmHint.lo SetPMask.lo SetPntMap.lo SetRGBCMap.lo SetSOwner.lo SetSSaver.lo SetState.lo SetStCmap.lo SetStip.lo SetTile.lo SetTSOrig.lo SetTxtProp.lo SetWMCMapW.lo SetWMProto.lo StBytes.lo StColor.lo StColors.lo StName.lo StNColor.lo StrKeysym.lo StrToText.lo Sync.lo Synchro.lo Text16.lo Text.lo TextExt16.lo TextExt.lo TextToStr.lo TrCoords.lo UndefCurs.lo UngrabBut.lo UngrabKbd.lo UngrabKey.lo UngrabPtr.lo UngrabSvr.lo UninsCmap.lo UnldFont.lo UnmapSubs.lo UnmapWin.lo VisUtil.lo WarpPtr.lo Window.lo WinEvent.lo Withdraw.lo WMGeom.lo WMProps.lo WrBitF.lo XlibAsync.lo XlibInt.lo Xrm.loxcb_lock.lo xcb_disp.lo xcb_io.lo  xlibi18n/libi18n.la xcms/libxcms.la xkb/libxkb.la -L/sw/ltib/rootfs/usr/lib -lxcb-xlib -lxcb  -ldl

gcc -shared  .libs/AllCells.o .libs/AllowEv.o .libs/AllPlanes.o .libs/AutoRep.o .libs/Backgnd.o .libs/BdrWidth.o .libs/Bell.o .libs/Border.o .libs/ChAccCon.o .libs/ChActPGb.o .libs/ChClMode.o .libs/ChCmap.o .libs/ChGC.o .libs/ChKeyCon.o .libs/ChkIfEv.o .libs/ChkMaskEv.o .libs/ChkTypEv.o .libs/ChkTypWEv.o .libs/ChkWinEv.o .libs/ChPntCon.o .libs/ChProp.o .libs/ChSaveSet.o .libs/ChWAttrs.o .libs/ChWindow.o .libs/CirWin.o .libs/CirWinDn.o .libs/CirWinUp.o .libs/ClDisplay.o .libs/ClearArea.o .libs/Clear.o .libs/ConfWind.o .libs/Context.o .libs/ConvSel.o .libs/CopyArea.o .libs/CopyCmap.o .libs/CopyGC.o .libs/CopyPlane.o .libs/CrBFData.o .libs/CrCmap.o .libs/CrCursor.o .libs/CrGC.o .libs/CrGlCur.o .libs/CrPFBData.o .libs/CrPixmap.o .libs/CrWindow.o .libs/Cursor.o .libs/DefCursor.o .libs/DelProp.o .libs/Depths.o .libs/DestSubs.o .libs/DestWind.o .libs/DisName.o .libs/DrArc.o .libs/DrArcs.o .libs/DrLine.o .libs/DrLines.o .libs/DrPoint.o .libs/DrPoints.o .libs/DrRect.o .libs/DrRects.o .libs/DrSegs.o .libs/ErrDes.o .libs/ErrHndlr.o .libs/evtomask.o .libs/EvToWire.o .libs/FetchName.o .libs/FillArc.o .libs/FillArcs.o .libs/FillPoly.o .libs/FillRct.o .libs/FillRcts.o .libs/FilterEv.o .libs/Flush.o .libs/Font.o .libs/FontInfo.o .libs/FontNames.o .libs/FreeCmap.o .libs/FreeCols.o .libs/FreeCurs.o .libs/FreeEData.o .libs/FreeGC.o .libs/FreePix.o .libs/FSSaver.o .libs/FSWrap.o .libs/GCMisc.o .libs/Geom.o .libs/GetAtomNm.o .libs/GetColor.o .libs/GetDflt.o .libs/GetFPath.o .libs/GetFProp.o .libs/GetGCVals.o .libs/GetGeom.o .libs/GetHColor.o .libs/GetHints.o .libs/GetIFocus.o .libs/GetImage.o .libs/GetKCnt.o .libs/GetMoEv.o .libs/GetNrmHint.o .libs/GetPCnt.o .libs/GetPntMap.o .libs/GetProp.o .libs/GetRGBCMap.o .libs/GetSOwner.o .libs/GetSSaver.o .libs/GetStCmap.o .libs/GetTxtProp.o .libs/GetWAttrs.o .libs/GetWMCMapW.o .libs/GetWMProto.o .libs/globals.o .libs/GrButton.o .libs/GrKeybd.o .libs/GrKey.o .libs/GrPointer.o .libs/GrServer.o .libs/Host.o .libs/Iconify.o .libs/IfEvent.o .libs/imConv.o .libs/ImText16.o .libs/ImText.o .libs/ImUtil.o .libs/InitExt.o .libs/InsCmap.o .libs/IntAtom.o .libs/KeyBind.o .libs/KeysymStr.o .libs/KillCl.o .libs/LiHosts.o .libs/LiICmaps.o .libs/LiProps.o .libs/ListExt.o .libs/LoadFont.o .libs/LockDis.o .libs/locking.o .libs/LookupCol.o .libs/LowerWin.o .libs/Macros.o .libs/MapRaised.o .libs/MapSubs.o .libs/MapWindow.o .libs/MaskEvent.o .libs/Misc.o .libs/ModMap.o .libs/MoveWin.o .libs/NextEvent.o .libs/OCWrap.o .libs/OMWrap.o .libs/OpenDis.o .libs/ParseCmd.o .libs/ParseCol.o .libs/ParseGeom.o .libs/PeekEvent.o .libs/PeekIfEv.o .libs/Pending.o .libs/PixFormats.o .libs/PmapBgnd.o .libs/PmapBord.o .libs/PolyReg.o .libs/PolyTxt16.o .libs/PolyTxt.o .libs/PropAlloc.o .libs/PutBEvent.o .libs/PutImage.o .libs/Quarks.o .libs/QuBest.o .libs/QuColor.o .libs/QuColors.o .libs/QuCurShp.o .libs/QuExt.o .libs/QuKeybd.o .libs/QuPntr.o .libs/QuStipShp.o .libs/QuTextE16.o .libs/QuTextExt.o .libs/QuTileShp.o .libs/QuTree.o .libs/RaiseWin.o .libs/RdBitF.o .libs/RecolorC.o .libs/ReconfWin.o .libs/ReconfWM.o .libs/Region.o .libs/RegstFlt.o .libs/RepWindow.o .libs/RestackWs.o .libs/RotProp.o .libs/ScrResStr.o .libs/SelInput.o .libs/SendEvent.o .libs/SetBack.o .libs/SetClMask.o .libs/SetClOrig.o .libs/SetCRects.o .libs/SetDashes.o .libs/SetFont.o .libs/SetFore.o .libs/SetFPath.o .libs/SetFunc.o .libs/SetHints.o .libs/SetIFocus.o .libs/SetLocale.o .libs/SetLStyle.o .libs/SetNrmHint.o .libs/SetPMask.o .libs/SetPntMap.o .libs/SetRGBCMap.o .libs/SetSOwner.o .libs/SetSSaver.o .libs/SetState.o .libs/SetStCmap.o .libs/SetStip.o .libs/SetTile.o .libs/SetTSOrig.o .libs/SetTxtProp.o .libs/SetWMCMapW.o .libs/SetWMProto.o .libs/StBytes.o .libs/StColor.o .libs/StColors.o .libs/StName.o .libs/StNColor.o .libs/StrKeysym.o .libs/StrToText.o .libs/Sync.o .libs/Synchro.o .libs/Text16.o .libs/Text.o .libs/TextExt16.o .libs/TextExt.o .libs/TextToStr.o .libs/TrCoords.o .libs/UndefCurs.o .libs/UngrabBut.o .libs/UngrabKbd.o .libs/UngrabKey.o .libs/UngrabPtr.o .libs/UngrabSvr.o .libs/UninsCmap.o .libs/UnldFont.o .libs/UnmapSubs.o .libs/UnmapWin.o .libs/VisUtil.o .libs/WarpPtr.o .libs/Window.o .libs/WinEvent.o .libs/Withdraw.o .libs/WMGeom.o .libs/WMProps.o .libs/WrBitF.o .libs/XlibAsync.o .libs/XlibInt.o .libs/Xrm.o .libs/xcb_lock.o .libs/xcb_disp.o .libs/xcb_io.o -Wl,--whole-archive xlibi18n/.libs/libi18n.a xcms/.libs/libxcms.a xkb/.libs/libxkb.a -Wl,--no-whole-archive  -L/sw/ltib/rootfs/usr/lib -lxcb-xlib -lxcb -ldl  -Wl,-soname -Wl,libX11.so.6 -o .libs/libX11.so.6.2.0

xlibi18n/.libs/libi18n.a: member xlibi18n/.libs/libi18n.a(lcSjis.o) in archive is not an object

collect2: ld returned 1 exit status

make[3]: *** [libX11.la] Error 1

make[3]: Leaving directory `/sw/ltib/rpm/BUILD/libX11-1.1.5/src'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/sw/ltib/rpm/BUILD/libX11-1.1.5/src'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/sw/ltib/rpm/BUILD/libX11-1.1.5/src'

make: *** [all-recursive] Error 1

error: Bad exit status from /sw/ltib/tmp/rpm-tmp.98598 (%build)


Outcomes