Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> Starting build()...
- cc bin2c.c -o bin2c
- luac5.1 -p kernel.lua
- ./bin2c kernel < kernel.lua > kernel.h
- luac5.1 -p userlib.lua
- ./bin2c userlib < userlib.lua > userlib.h
- luac5.1 -p module_json.lua
- ./bin2c module_json < module_json.lua > module_json.h
- cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION='"1.0pre4.ac815b"' -I/usr/include/lua5.1 -I/usr/include/freetype2/ -I/usr/include/ffmpeg -std=c99 -Wall -D_FORTIFY_SOURCE=2 -c -o main.o main.c
- In file included from /usr/include/strings.h:26:0,
- from main.c:5:
- /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
- # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
- ^
- cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION='"1.0pre4.ac815b"' -I/usr/include/lua5.1 -I/usr/include/freetype2/ -I/usr/include/ffmpeg -std=c99 -Wall -D_FORTIFY_SOURCE=2 -c -o image.o image.c
- cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION='"1.0pre4.ac815b"' -I/usr/include/lua5.1 -I/usr/include/freetype2/ -I/usr/include/ffmpeg -std=c99 -Wall -D_FORTIFY_SOURCE=2 -c -o font.o font.c
- cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION='"1.0pre4.ac815b"' -I/usr/include/lua5.1 -I/usr/include/freetype2/ -I/usr/include/ffmpeg -std=c99 -Wall -D_FORTIFY_SOURCE=2 -c -o video.o video.c
- video.c: In function ‘video_open’:
- video.c:81:21: error: ‘PIX_FMT_RGB24’ undeclared (first use in this function)
- video->format = PIX_FMT_RGB24;
- ^
- video.c:81:21: note: each undeclared identifier is reported only once for each function it appears in
- video.c:146:24: warning: implicit declaration of function ‘avcodec_alloc_frame’ [-Wimplicit-function-declaration]
- video->raw_frame = avcodec_alloc_frame();
- ^
- video.c:146:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- video->raw_frame = avcodec_alloc_frame();
- ^
- video.c:147:25: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- video->scaled_frame = avcodec_alloc_frame();
- ^
- video.c:155:5: warning: ‘avpicture_get_size’ is deprecated [-Wdeprecated-declarations]
- video->buffer = av_malloc(avpicture_get_size(
- ^
- In file included from video.c:35:0:
- /usr/include/libavcodec/avcodec.h:4898:5: note: declared here
- int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
- ^
- video.c:162:5: warning: ‘avpicture_fill’ is deprecated [-Wdeprecated-declarations]
- avpicture_fill(
- ^
- In file included from video.c:35:0:
- /usr/include/libavcodec/avcodec.h:4883:5: note: declared here
- int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
- ^
- video.c: In function ‘video_next_frame’:
- video.c:206:9: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(&packet);
- ^
- In file included from video.c:35:0:
- /usr/include/libavcodec/avcodec.h:4040:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^
- video.c:213:9: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(&packet);
- ^
- In file included from video.c:35:0:
- /usr/include/libavcodec/avcodec.h:4040:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^
- video.c:224:9: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(&packet);
- ^
- In file included from video.c:35:0:
- /usr/include/libavcodec/avcodec.h:4040:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^
- video.c:254:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(&packet);
- ^
- In file included from video.c:35:0:
- /usr/include/libavcodec/avcodec.h:4040:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^
- <builtin>: recipe for target 'video.o' failed
- make: *** [video.o] Error 1
- ==> ERROR: A failure occurred in build().
- Aborting...
- The build failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement