On Sun, May 06, 2012 at 09:57:21PM +0200, Maurice Janssen wrote:
> Hi,
> 
> I'm having some trouble building xenocara on a Vaxstation running
> 5.1-stable.
> The xenocare source directory is mounted over NFS, in case it matters.
> The sources are a clean anoncvs checkout and also used by some other
> platforms (without any problems), so I am pretty sure the tree is OK.
> 
> I followed the exact steps from FAQ 5.5 and after about 6 hours the
> build fails.  Below are the last lines of make build.
> 
> Anybody got an idea what might be wrong?

> 
> Thanks,
> Maurice
> 
> 
> 
> 
> Making all in sxpm
> if gcc -DHAVE_CONFIG_H -I. -I/usr/xenocara/lib/libXpm/sxpm -I..  
> -I/usr/xenocara/lib/libXpm/include   -Wall -Wpointer-arith 
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
> -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 
> -I/usr/X11R6/include -O2 -pipe -MT sxpm.o -MD -MP -MF ".deps/sxpm.Tpo" -c -o 
> sxpm.o /usr/xenocara/lib/libXpm/sxpm/sxpm.c;  then mv -f ".deps/sxpm.Tpo" 
> ".deps/sxpm.Po"; else rm -f ".deps/sxpm.Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wpointer-arith
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2
> -I/usr/X11R6/include -O2 -pipe    -o sxpm  sxpm.o -L/usr/X11R6/lib
> -pthread -lXext -lXdmcp -lXau -lpthread-stubs -lxcb -lX11 -lSM -lICE
> -lXt ../src/libXpm.la 

This is a known  issue with OpenBSD's pkg-config(1).

The current version does not produce the list of libraries needed by
sxpm in the correct order. The work around is to use the OpenBSD 4.9
version.

But the fact that this issue has been present for more than one year
shows the level of interest on X for vax among developers.

> mkdir .libs
> gcc -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
> -Wmissing-declarations -Wnested-externs -fno-strict-aliasing 
> -Wbad-function-cast -Wformat=2 -I/usr/X11R6/include -O2 -pipe -o sxpm sxpm.o 
> -pthread  -L/usr/X11R6/lib /usr/X11R6/lib/libXext.a /usr/X11R6/lib/libXt.a 
> /usr/X11R6/lib/libSM.a /usr/X11R6/lib/libICE.a ../src/.libs/libXpm.a -pthread 
> /usr/X11R6/lib/libX11.a /usr/X11R6/lib/libXdmcp.a /usr/X11R6/lib/libXau.a 
> -lpthread-stubs -lxcb  
> sxpm.o: warning: sprintf() is often misused, please use snprintf()
> Error.o: warning: sprintf() is often misused, please use snprintf()
> Initialize.o: warning: strcat() is almost always misused, please use strlcat()
> Initialize.o: warning: strcpy() is almost always misused, please use strlcpy()
> Intrinsic.o: warning: strcpy() is almost always misused, please use strlcpy()
> NextEvent.o: warning: sprintf() is often misused, please use snprintf()
> Shell.o: warning: strcpy() is almost always misused, please use strlcpy()
> TMaction.o: warning: strcat() is almost always misused, please use strlcat()
> TMprint.o: warning: strcpy() is almost always misused, please use strlcpy()
> TMprint.o: warning: sprintf() is often misused, please use snprintf()
> Converters.o: warning: strcpy() is almost always misused, please use strlcpy()
> ResConfig.o: warning: strcpy() is almost always misused, please use strlcpy()
> sm_client.o: warning: strcpy() is almost always misused, please use strlcpy()
> sm_misc.o: warning: strcpy() is almost always misused, please use strlcpy()
> process.o: warning: sprintf() is often misused, please use snprintf()
> authutil.o: warning: strcpy() is almost always misused, please use strlcpy()
> authutil.o: warning: strcat() is almost always misused, please use strlcat()
> RdFToI.o: warning: strcpy() is almost always misused, please use strlcpy()
> scan.o: warning: sprintf() is often misused, please use snprintf()
> Font.o: warning: strcpy() is almost always misused, please use strlcpy()
> FSWrap.o: warning: strcpy() is almost always misused, please use strlcpy()
> GetAtomNm.o: warning: strcpy() is almost always misused, please use strlcpy()
> IntAtom.o: warning: strcpy() is almost always misused, please use strlcpy()
> KeysymStr.o: warning: sprintf() is often misused, please use snprintf()
> SetHints.o: warning: strcpy() is almost always misused, please use strlcpy()
> XlibInt.o: warning: sprintf() is often misused, please use snprintf()
> XlibInt.o: warning: strcpy() is almost always misused, please use strlcpy()
> lcWrap.o: warning: strcpy() is almost always misused, please use strlcpy()
> lcWrap.o: warning: strcat() is almost always misused, please use strlcat()
> ErrDes.o: warning: sprintf() is often misused, please use snprintf()
> lcUTF8.o: warning: sprintf() is often misused, please use snprintf()
> lcGenConv.o: warning: strcpy() is almost always misused, please use strlcpy()
> lcDB.o: warning: strcpy() is almost always misused, please use strlcpy()
> lcFile.o: warning: sprintf() is often misused, please use snprintf()
> lcFile.o: warning: strcpy() is almost always misused, please use strlcpy()
> lcFile.o: warning: strcat() is almost always misused, please use strlcat()
> lcGeneric.o: warning: sprintf() is often misused, please use snprintf()
> lcGeneric.o: warning: strcat() is almost always misused, please use strlcat()
> lcGeneric.o: warning: strcpy() is almost always misused, please use strlcpy()
> lcPubWrap.o: warning: strcpy() is almost always misused, please use strlcpy()
> lcTxtPr.o: warning: strcpy() is almost always misused, please use strlcpy()
> imInsClbk.o: warning: strcpy() is almost always misused, please use strlcpy()
> imInsClbk.o: warning: strcat() is almost always misused, please use strlcat()
> imLcIm.o: warning: strcpy() is almost always misused, please use strlcpy()
> imLcPrs.o: warning: strcpy() is almost always misused, please use strlcpy()
> omGeneric.o: warning: strcpy() is almost always misused, please use strlcpy()
> omGeneric.o: warning: sprintf() is often misused, please use snprintf()
> omGeneric.o: warning: strcat() is almost always misused, please use strlcat()
> lcCT.o: warning: strcpy() is almost always misused, please use strlcpy()
> lcPrTxt.o: warning: strcpy() is almost always misused, please use strlcpy()
> imDefIm.o: warning: sprintf() is often misused, please use snprintf()
> imDefIm.o: warning: strcpy() is almost always misused, please use strlcpy()
> imExten.o: warning: strcpy() is almost always misused, please use strlcpy()
> imRmAttr.o: warning: strcat() is almost always misused, please use strlcat()
> imTrX.o: warning: sprintf() is often misused, please use snprintf()
> /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_util.c:349: 
> warning: strcpy() is almost always misused, please use strlcpy()
> /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_auth.c:143: 
> Undefined symbol `_XauGetBestAuthByAddr' referenced from text segment
> /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_auth.c:236: 
> Undefined symbol `_XdmcpWrap' referenced from text segment
> /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_auth.c:341: 
> Undefin
> ed symbol `_XauDisposeAuth' referenced from text segment
> /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_auth.c:349: 
> Undefined symbol `_XauDisposeAuth' referenced from text segment
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Stop in /usr/xenocara/lib/libXpm/obj/sxpm (line 301 of Makefile).
> *** Error code 1
> 
> Stop in /usr/xenocara/lib/libXpm/obj (line 343 of Makefile).
> *** Error code 1
> 
> Stop in /usr/xenocara/lib/libXpm/obj (line 231 of Makefile).
> *** Error code 1
> 
> Stop in /usr/xenocara/lib/libXpm (line 144 of 
> /usr/X11R6/share/mk/bsd.xorg.mk).
> *** Error code 1
> 
> Stop in /usr/xenocara/lib/libXpm (line 206 of 
> /usr/X11R6/share/mk/bsd.xorg.mk).
> *** Error code 1
> 
> Stop in /usr/xenocara/lib (line 48 of /usr/share/mk/bsd.subdir.mk).
> *** Error code 1
> 
> Stop in /usr/xenocara (line 48 of /usr/share/mk/bsd.subdir.mk).
> 

-- 
Matthieu Herrb

Reply via email to