"no previous prototype for `av_tempfile'" build problems

"andy whelan" <[email protected]>
Newsgroups gmane.comp.video.xine.user
Message-ID <[email protected]>
Hi,
I'm trying to build xine-lib-1.1.8 on mac os 10.3.9 running apple darwin
7.9.0 and gcc 3.3. I don't see any errors when I configure. When run make, I
get this:

 gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../..
-I../../../include -I../../../include -I../../../src
-I../../../src/xine-engine -I../../../src/xine-engine
-I../../../src/xine-utils -I../../../src/input -I../../../src/input
-I../../../lib -I../../../lib -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT
-DXINE_MPEG_ENCODER -D_ISOC9X_SOURCE -DCONFIG_DECODERS
-I../../../src/libffmpeg/libavutil -I../../../src/libffmpeg
-I../../../src/libffmpeg -DCONFIG_DARWIN -fno-strict-aliasing -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length
-Wmissing-format-attribute -Werror-implicit-function-declaration
-Wstrict-aliasing -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations
-fschedule-insns2 -ffast-math -fno-inline-functions -no-cpp-precomp
-D_INTL_REDIRECT_MACROS -Wall -Wpointer-arith -Wnested-externs -Wcast-align
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -g -O2
-DNDEBUG -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c  -fno-common
-DPIC -o .libs/utils.o
utils.c:1325: warning: no previous prototype for `av_tempfile'
utils.c: In function `av_tempfile':
utils.c:1342: error: implicit declaration of function `mkstemp'
make[4]: *** [utils.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I'm a newbie when it comes to installing anything from source, and I don't
really know what all this means. If anyone has some ideas on how to remedy
this, I would sure appreciate the help.

Thanks,
andy

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
xine-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-user
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.