Re: Error installing gerbv
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 9/23/21 5:04 PM, Brandon Lewis wrote: > 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' I fixed this. Hanspeter _______________________________________________ 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