Downloaded from cvs
I changed 2 lines in the Makefile
STATIC_LINKING: LDFLAGS = -static
STATIC_LINKING: LIBS = -lvorbis -logg -lm -lsqlite3 -lpthread -lexif -ljpeg -lFLAC -lm -lid3tag -lz -lavformat -lavutil -lavcodec -lm
from their # … status
and added the # to the dynamic ones.
On Mandriva 2008, I downloaded, buidl and installed http://www.sqlite.org/sqlite-autoconf-3070400.tar.gz but get following erro when building.
minidlna.c:253: undefined reference to `sqlite3_open' as 1st error. I found some mentioning of this by googling, on a Italian-site, but I wasn't able to find the solution.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perhaps it can't find sqlite3.h. You should find where sqlite3.h is located on your system, and then add that directory to the list of include directories listed with CFLAGS in the Makefile.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Shouldn't the same problem arise when building shared ? AFAIK sqlite3.h is in a standard location, I'll try with symlinking to several other places and see what happens.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Downloaded from cvs
I changed 2 lines in the Makefile
STATIC_LINKING: LDFLAGS = -static
STATIC_LINKING: LIBS = -lvorbis -logg -lm -lsqlite3 -lpthread -lexif -ljpeg -lFLAC -lm -lid3tag -lz -lavformat -lavutil -lavcodec -lm
from their # … status
and added the # to the dynamic ones.
On Mandriva 2008, I downloaded, buidl and installed http://www.sqlite.org/sqlite-autoconf-3070400.tar.gz but get following erro when building.
minidlna.c:253: undefined reference to `sqlite3_open' as 1st error. I found some mentioning of this by googling, on a Italian-site, but I wasn't able to find the solution.
Perhaps it can't find sqlite3.h. You should find where sqlite3.h is located on your system, and then add that directory to the list of include directories listed with CFLAGS in the Makefile.
Shouldn't the same problem arise when building shared ? AFAIK sqlite3.h is in a standard location, I'll try with symlinking to several other places and see what happens.