Compile error in apps/pgl/pgl-launcher

Seuhs <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
Hi, I get this error on SuSE8/x86:

gcc -DHAVE_CONFIG_H -I. -I. -I../..      -c configfile.c
configfile.c: In function `get_section_params':
configfile.c:317: warning: return from incompatible pointer type
/bin/sh ../../libtool --mode=link gcc    -o pgl-toolbar  pgl-toolbar.o configfile.o -lpgui -lutil
mkdir .libs
gcc -o pgl-toolbar pgl-toolbar.o configfile.o  /usr/local/lib/libpgui.a -lutil
make[3]: Leaving directory `/home/fritz/Installieren/PicoGUI/picogui-0.44/apps/pgl/pgl-toolbar'
Making all in pgl-launcher
make[3]: Entering directory `/home/fritz/Installieren/PicoGUI/picogui-0.44/apps/pgl/pgl-launcher'
gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I/usr/local/include/   -c pgl-launcher.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
pgl-launcher.c:36:25: res_c/res_c.h: No such file or directory
pgl-launcher.c: In function `directoryScan':
pgl-launcher.c:69: `resResource' undeclared (first use in this function)
pgl-launcher.c:69: (Each undeclared identifier is reported only once
pgl-launcher.c:69: for each function it appears in.)
pgl-launcher.c:69: `appRes' undeclared (first use in this function)
pgl-launcher.c:75: warning: assignment makes pointer from integer without a cast
pgl-launcher.c:80: warning: assignment makes pointer from integer without a cast
pgl-launcher.c:82: warning: assignment makes pointer from integer without a cast
pgl-launcher.c:83: warning: assignment makes pointer from integer without a cast
pgl-launcher.c:85: warning: assignment makes pointer from integer without a cast
pgl-launcher.c:86: warning: assignment makes pointer from integer without a cast
pgl-launcher.c: In function `runApp':
pgl-launcher.c:128: warning: passing arg 1 of `strdup' from incompatible pointer type
make[3]: *** [pgl-launcher.o] Error 1
make[3]: Leaving directory `/home/fritz/Installieren/PicoGUI/picogui-0.44/apps/pgl/pgl-launcher'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fritz/Installieren/PicoGUI/picogui-0.44/apps/pgl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fritz/Installieren/PicoGUI/picogui-0.44/apps'
make: *** [all-recursive-am] Error 2

The other applications compile fine when I remove pgl from the Makefile.

Thanks,

Roland Seuhs




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.