Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

x264 0.118 DOS port (Announce)

posted by RayeR Homepage, CZ, 17.10.2011, 19:43

Now I'm trying to compile x264 encoder but have some problems. I messed headers and makefile a lot to work with djgpp but now it's going to good end. Finally I have missing only one function:
char *strtok_r(char *s1, const char *s2, char **s3);
DJGPP string lib seems to be outdated so I need to supply some code instead of it. Any Idea before I will start searching and grabbing from some libc code?


C:\x264>make
gcc -ox264.exe x264.o input/input.o input/timecode.o input/raw.o input/y4m.o out
put/raw.o output/matroska.o output/matroske.o output/flv.o output/flv_bytestream
.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/
internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_.o
 filters/video/select_e.o filters/video/crop.o filters/video/depth.o extras/geto
pt.o libx264.a  -lm
libx264.a(common.o):common.c:(.text+0x1384): undefined reference to `_strtok_r'
libx264.a(ratecont.o):ratecont.c:(.text+0x65b9): undefined reference to `_strtok
_r'
collect2: ld returned 1 exit status
make.exe: *** [x264.exe] Error 1

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22778 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum