Anyone could help mi compile minidlna to my router?
Its Asus WL500gp with linux OpenWrt with MIPS architecture…
I got OpenWrt SDK, and now i dont know how to create proper Makefile to compile it there…
What errors are you seeing? The Makefile shouldn't require any modification. Once the required libraries and headers are in place, it should just compile normally.
Im trying to compile it on my ubuntu box. I dont know how to compile to other architecutre then my ubuntu box…
I have download all SDK, there are lots of 'packages' i have create minidlna folder there, and copy all files - but what next? When i run make i get error… I will paste it here when i come back to home after work.
ips-gcc -Wall -g -O3 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/ffmpeg -I/usr/include/libavutil -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/local/include/libavutil -I/usr/local/include/libavcodec -I/usr/local/include/libavformat -I/usr/include/ffmpeg/libavutil -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg/libavformat -o upnpevents.o -c upnpevents.c
/home/koot/ccmips/bin/../lib/gcc/mips-unknown-linux-gnu/3.4.5/../../../../mips-unknown-linux-gnu/bin/ld: minidlna.o: Relocations in generic ELF (EM: 3)
minidlna.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** Błąd 1
koot@iskierka:~/s-minidlna$ In file included from upnpevents.c:30:
upnpglobalvars.h:22:21: sqlite3.h: No such file or directory
In file included from upnpevents.c:30:
upnpglobalvars.h:107: error: syntax error before '*' token
upnpglobalvars.h:107: warning: type defaults to `int' in declaration of `db'
upnpglobalvars.h:107: warning: data definition has no type or storage class
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.