Error installing gerbv

Brandon Lewis <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <CAMo_CAzRyP5MnvAa+7797cJBKJbWHmespjsOEO6n5oxj_6Z=VQ@mail.gmail.com>
When attempting to install the gerbv package, I get the following error:

gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/sw/include -DPREFIXDIR=\"/opt/sw\"
-DBINDIR=\"/opt/sw/bin\" -DBACKEND_DIR='"/opt/sw/share/gerbv/scheme/"'
-DSCMSUBDIR='"scheme"' -g -O2 -Wall  -I/opt/sw/include/glib-2.0
-I/opt/sw/lib/glib-2.0/include -I/opt/sw/include/gtk-2.0
-I/opt/sw/lib/gtk-2.0/include -I/opt/sw/include/gtk-2.0
-I/opt/sw/include/pango-1.0 -I/opt/sw/include/atk-1.0
-I/opt/sw/include/cairo -I/opt/sw/include/pango-1.0
-I/opt/sw/include/freetype2 -I/opt/sw/include -I/opt/X11/include
-I/opt/sw/include/cairo -I/opt/sw/include -I/opt/sw/include/freetype2
-I/opt/X11/include -MT render.o -MD -MP -MF .deps/render.Tpo -c -o render.o
render.c
interface.c:622:39: error: implicitly declaring library function 'malloc'
with
      type 'void *(unsigned long)' [-Werror,-Wimplicit-function-declaration]
                screen.win.menu_view_render_group = malloc(4*sizeof(GtkW...
                                                    ^
interface.c:622:39: note: include the header <stdlib.h> or explicitly
provide a
      declaration for 'malloc'
1 error generated.
make[2]: *** [interface.o] Error 1
[extraneous lines removed]
Failed: phase compiling: gerbv-2.6.0-4 failed

*My system information is:*
Package manager version: 0.45.3
Distribution version: selfupdate-rsync Thu Sep 23 13:42:25 2021, 10.15,
x86_64
Trees: local/main stable/main
No recognized Xcode.app installed
Xcode command-line tools: 12.4.0.0.1.1610135815
Max. Fink build jobs:  1

-- 
Brandon Lewis

"Life would be tragic if it weren't so funny." – Stephen Hawking

"There are three kinds of men. The one that learns by reading. The few who
learn by observation. The rest of them have to pee on the electric fence
for themselves." – Will Rogers

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.