Subject: xsrc/10667: X11R6.3 build errors/warnings on NetBSD/pmax
To: None <gnats-bugs@gnats.netbsd.org>
From: None <t1345@hopi.dtcc.edu>
List: netbsd-bugs
Date: 07/24/2000 10:51:14
>Number:         10667
>Category:       xsrc
>Synopsis:       X11R6.3 build errors/warnings on NetBSD/pmax
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 24 10:52:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Chris Tribo
>Release:        1.5 Alpha
>Organization:
>Environment:
NetBSD w-sysop-3.dtcc.edu 1.5_ALPHA NetBSD 1.5_ALPHA (Challenger) #2: Thu Jul  6
 17:11:52 EDT 2000     root@Challenger:/usr/src/sys/arch/pmax/compile/Challenger
 pmax

>Description:
Compiler errors (built from source checked out of CVS on 7/19/00)

making all in lib/font...
making all in lib/font/bitmap...
rm -f bdfread.o
gcc -c -O2 -ansi -Dasm=__asm  -I../../../include/fonts -I../include  -I../../..
-I../../../exports/include  -DCSRG_BASED -DSHAPE  -DXKB -DLBX -DXAPPGROUP -DXCSE
CURITY   -DPIXPRIV   -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO    bdfread.c
bdfread.c: In function `bdfReadProperties':
bdfread.c:574: warning: passing arg 1 of `bdfError' from incompatible pointer ty
pe
rm -f bdfutils.o
gcc -c -O2 -ansi -Dasm=__asm  -I../../../include/fonts -I../include  -I../../..
-I../../../exports/include  -DCSRG_BASED -DSHAPE  -DXKB -DLBX -DXAPPGROUP -DXCSE
CURITY   -DPIXPRIV   -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO    bdfutils.c
bdfutils.c: In function `bdfWarning':
bdfutils.c:124: warning: passing arg 1 of `vsprintf' from incompatible pointer t
ype
rm -f bitmap.o

and the following appeared many times in various parts of the build.

gcc -o bitmap -O2 -ansi -Dasm=__asm     -L../../exports/lib BitEdit.o CutPaste.o
 Graphics.o ReqMach.o Bitmap.o                   Dialog.o Handlers.o -lXaw -lXmu
 -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib    -lm -Wl,-rpath,/usr/X11R6/lib
-Wl,-rpath-link,../../exports/lib -Wl,-rpath,/lib
../../exports/lib/libXaw.so: warning: tmpnam() possibly used unsafely, use mkste
mp() or mkdtemp()
gcc -O2 -ansi -Dasm=__asm    -I../.. -I../../exports/include  -DCSRG_BASED   -DF
UNCPROTO=15 -DNARROWPROTO    -DHAS_MKSTEMP  -c bmtoa.c
rm -f bmtoa

I have the entire build logged to a text file if that would be helpful.
>How-To-Repeat:
Build X
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: