RedHat9: address@hidden src]#uname -a Linux chewbacca.shokk.com 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux
When building gmediaserver-0.11.0
I get the following errors in my compilation...
make all-recursive make[1]: Entering directory `/web/src/gmediaserver-0.11.0' Making all in doc make[2]: Entering directory `/web/src/gmediaserver-0.11.0/doc'
make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/web/src/gmediaserver-0.11.0/doc' Making all in po make[2]: Entering directory `/web/src/gmediaserver-0.11.0/po' make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/web/src/gmediaserver-0.11.0/po' Making all in lib make[2]: Entering directory `/web/src/gmediaserver-0.11.0/lib' cp ./alloca_.h alloca.h-t mv alloca.h-t alloca.h make all-am
make[3]: Entering directory `/web/src/gmediaserver-0.11.0/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c c-ctype.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c basename.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c
stripslash.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c full-read.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c full-write.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c getnline.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c
iconvme.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c progname.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c version-etc.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c xalloc-die.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c
xgethostname.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c xstrndup.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c xvasprintf.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c xasprintf.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c
strftime.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c dirname.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c exitfail.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c getndelim2.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c
quote.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c quotearg.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c safe-read.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c safe-write.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c
sig2str.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c vasnprintf.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c printf-args.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c printf-parse.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c
asnprintf.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c xmalloc.c rm -f libgnu.a ar cru libgnu.a c-ctype.o basename.o stripslash.o full-read.o full-write.o getnline.o iconvme.o progname.o version-etc.o xalloc-die.o
xgethostname.o xstrndup.o xvasprintf.o xasprintf.o strftime.o dirname.o exitfail.o getndelim2.o quote.o quotearg.o safe-read.o safe-write.o sig2str.o vasnprintf.o printf-args.o printf-parse.o asnprintf.o xmalloc.o ranlib
libgnu.a make[3]: Leaving directory `/web/src/gmediaserver-0.11.0/lib' make[2]: Leaving directory `/web/src/gmediaserver-0.11.0/lib' Making all in uuid make[2]: Entering directory `/web/src/gmediaserver-0.11.0
/uuid' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/web/src/gmediaserver-0.11.0/uuid' Making all in src make[2]: Entering directory `/web/src/gmediaserver-0.11.0/src' make all-recursive
make[3]: Entering directory `/web/src/gmediaserver-0.11.0/src' Making all in schemas make[4]: Entering directory `/web/src/gmediaserver-0.11.0/src/schemas' perl ./xml2h.pl MediaServer_desc < MediaServer.xml
> MediaServer.h perl ./xml2h.pl ContentDirectory_desc < ContentDirectory.xml > ContentDirectory.h perl ./xml2h.pl ConnectionManager_desc < ConnectionManager.xml > ConnectionManager.h make[4]: Leaving directory `/web/src/gmediaserver-
0.11.0/src/schemas' make[4]: Entering directory `/web/src/gmediaserver-0.11.0/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -I/usr/local/include/upnp -g -O2 -MT connectmgr.o -MD -MP -MF ".deps/connectmgr.Tpo" -c -o
connectmgr.o connectmgr.c; \ then mv -f ".deps/connectmgr.Tpo" ".deps/connectmgr.Po"; else rm -f ".deps/connectmgr.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -I/usr/local/include/upnp -g -O2 -MT
contentdir.o -MD -MP -MF ".deps/contentdir.Tpo" -c -o contentdir.o contentdir.c; \ then mv -f ".deps/contentdir.Tpo" ".deps/contentdir.Po"; else rm -f ".deps/contentdir.Tpo"; exit 1; fi
search-lexer.h:263: warning: `yy_init_globals' declared `static' but never defined if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -I/usr/local/include/upnp -g -O2 -MT interface.o -MD -MP -MF ".deps/interface.Tpo" -c -o
interface.o interface.c; \ then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; else rm -f ".deps/interface.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -I/usr/local/include/upnp -g -O2 -MT
logging.o -MD -MP -MF ".deps/logging.Tpo" -c -o logging.o logging.c; \ then mv -f ".deps/logging.Tpo" ".deps/logging.Po"; else rm -f ".deps/logging.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -I/usr/local/include/upnp -g -O2 -MT
upnp.o -MD -MP -MF ".deps/upnp.Tpo" -c -o upnp.o upnp.c; \ then mv -f ".deps/upnp.Tpo" ".deps/upnp.Po"; else rm -f ".deps/upnp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -I/usr/local/include/upnp -g -O2 -MT
webserver.o -MD -MP -MF ".deps/webserver.Tpo" -c -o webserver.o webserver.c; \ then mv -f ".deps/webserver.Tpo" ".deps/webserver.Po"; else rm -f ".deps/webserver.Tpo"; exit 1; fi
webserver.c: In function `webserver_read': webserver.c:285: warning: implicit declaration of function `min' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -I/usr/local/include/upnp -g -O2 -MT webclient.o
-MD -MP -MF ".deps/webclient.Tpo" -c -o webclient.o webclient.c; \ then mv -f ".deps/webclient.Tpo" ".deps/webclient.Po"; else rm -f ".deps/webclient.Tpo"; exit 1; fi webclient.c
: In function `http_read': webclient.c:87: warning: implicit declaration of function `read' webclient.c: In function `http_result_free': webclient.c:163: warning: implicit declaration of function `close' webclient.c
: In function `parse_http_date': webclient.c:353: storage size of `tm' isn't known webclient.c:361: warning: implicit declaration of function `strptime' webclient.c:361: warning: assignment makes pointer from integer without a cast
webclient.c:363: warning: assignment makes pointer from integer without a cast webclient.c:365: warning: assignment makes pointer from integer without a cast webclient.c:372: warning: implicit declaration of function `mktime'
webclient.c:353: warning: unused variable `tm' make[4]: *** [webclient.o] Error 1 make[4]: Leaving directory `/web/src/gmediaserver-0.11.0/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/web/src/gmediaserver-
0.11.0/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/web/src/gmediaserver-0.11.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/web/src/gmediaserver-0.11.0' make: *** [all] Error 2
Configuration seems to have gone smoothly... while I don't have libupnp and taglib packages installed, I did successfully config and compile from source for these:
and configure completed and found the parts it needed. What else could I be missing?
checking for strdup... yes checking for strndup... yes
checking for working strnlen... yes checking whether localtime_r is compatible with its POSIX signature... yes checking for unistd.h... (cached) yes checking for vasnprintf... no checking for ptrdiff_t... yes
checking for snprintf... yes checking for wcslen... yes checking for vasprintf... yes checking for stdint.h... (cached) yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3
checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking for ranlib... (cached) ranlib
checking for perl... perl checking for perl version greater than or equal to 5.6.0... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for UPNP... Package libupnp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libupnp.pc' to the PKG_CONFIG_PATH environment variable No package 'libupnp' found checking upnp.h usability... yes checking upnp.h presence... yes checking for
upnp.h... yes checking for UpnpInit in -lupnp... yes checking id3.h usability... yes checking id3.h presence... yes checking for id3.h... yes checking for ID3Tag_New in -lid3... no checking for TAGLIB... Package taglib was not found in the pkg-config search path.
Perhaps you should add the directory containing `taglib.pc' to the PKG_CONFIG_PATH environment variable No package 'taglib' found checking for UUID... yes checking for struct sigaction.sa_restorer... yes
checking for comparison_fn_t... yes checking for nl_langinfo... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in
config.status: creating lib/Makefile config.status: creating uuid/Makefile config.status: creating src/Makefile config.status: creating src/schemas/Makefile config.status: creating src/schemas/MediaServer.xml
config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status
: creating po/Makefile