Subject: pkg/31214: package games/xmris does not build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mc0@databaar.ch>
List: pkgsrc-bugs
Date: 09/08/2005 08:45:01
>Number: 31214
>Category: pkg
>Synopsis: package games/xmris does not build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 08 08:45:00 +0000 2005
>Originator: A L Meyers
>Release: latest pkgsrc bootstrapped to Mandrake Linux 10.1 i386
>Organization:
>Environment:
Linux localhost.localdomain 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux
>Description:
===> Building for xmris-4.05
Checking a few things
Geronimo!
NOTE:You might get lots of warnings about discarding const from
NOTE:pointer target type. Ignore these. It's because the X header
NOTE:files aren't const correct. Fiddle with XrmOptionDescRec in
NOTE:Xresource.h and String in Intrinsic.h by adding an _Xconst.
gcc -g -static -I/usr/pkg/include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -Wall -Wpointer-arith -Wwrite-strings -Wtraditional -DFONT_NAME='"-*-courier-*-r-*-*-18-*-*-*-m-*-*-*"' -DSCORE_DIR='"/var/games/xmris"' -DUSELOCKFILE -DSCROLLBARBUGFIX -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -I/usr/pkg/include -c -o apple.o apple.c
apple.c: In function `apple_search':
apple.c:20: warning: traditional C rejects ISO C style function definitions
apple.c: In function `apple_stop':
apple.c:45: warning: traditional C rejects ISO C style function definitions
apple.c: In function `panic_monsters':
apple.c:847: warning: traditional C rejects ISO C style function definitions
apple.c: In function `spawn_apple':
apple.c:874: warning: traditional C rejects ISO C style function definitions
apple.c: In function `squish_monster':
apple.c:905: warning: traditional C rejects ISO C style function definitions
gcc -g -static -I/usr/pkg/include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -Wall -Wpointer-arith -Wwrite-strings -Wtraditional -DFONT_NAME='"-*-courier-*-r-*-*-18-*-*-*-m-*-*-*"' -DSCORE_DIR='"/var/games/xmris"' -DUSELOCKFILE -DSCROLLBARBUGFIX -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -I/usr/pkg/include -c -o scram.o scram.c
scram.c: In function `smalloc':
scram.c:87: warning: traditional C rejects ISO C style function definitions
scram.c: In function `read_bitmap':
scram.c:111: warning: traditional C rejects ISO C style function definitions
scram.c: In function `malloc_bitmap':
scram.c:308: warning: traditional C rejects ISO C style function definitions
scram.c: In function `is_blank':
scram.c:327: warning: traditional C rejects ISO C style function definitions
scram.c: In function `fill_area':
scram.c:347: warning: traditional C rejects ISO C style function definitions
scram.c: In function `copy_area':
scram.c:398: warning: traditional C rejects ISO C style function definitions
scram.c: In function `draw_rectangle':
scram.c:497: warning: traditional C rejects ISO C style function definitions
scram.c: In function `make_color_pixmaps':
scram.c:586: warning: traditional C rejects ISO C style function definitions
scram.c: In function `add_edge':
scram.c:636: warning: traditional C rejects ISO C style function definitions
scram.c: In function `compress_colors':
scram.c:658: warning: traditional C rejects ISO C style function definitions
scram.c: In function `main':
scram.c:752: warning: traditional C rejects ISO C style function definitions
rm -f scram
gcc -o scram -g -static -L/usr/pkg/lib -L/usr/X11R6/lib scram.o -L/usr/X11R6/lib
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [scram] Error 1
>How-To-Repeat:
After "bmake clean" and "bmake clean-depends", do "bmake update" in games/xmris
>Fix:
none known