2014-08-14 Fred Gleason <fredg@paravelsystems.com>

* Added '-lm' and '-lpthread' to @LIB_RDLIBS@ in 'configure.in'
	to fix broken compilation on RHEL 7.
	* Fixed a regression in 'lib/rdcreate_log.cpp' that broke creation
	of new logs.
This commit is contained in:
Fred Gleason 2014-08-14 11:27:49 -04:00
parent afd67c7af8
commit 18913bb083
3 changed files with 7 additions and 2 deletions

View File

@ -14295,3 +14295,8 @@
'RDWaveData:setDaypartStartTime()', 'RDWaveData::daypartEndTime()'
and 'RDWaveData::setDaypartEndTime()' methods in 'lib/rdwavdata.cpp'
and 'lib/rdwavedata.h'.
2014-08-14 Fred Gleason <fredg@paravelsystems.com>
* Added '-lm' and '-lpthread' to @LIB_RDLIBS@ in 'configure.in'
to fix broken compilation on RHEL 7.
* Fixed a regression in 'lib/rdcreate_log.cpp' that broke creation
of new logs.

View File

@ -203,7 +203,7 @@ fi
#
# Set Hard Library Dependencies
#
AC_SUBST(LIB_RDLIBS,"-lqui -lrd -lcurl -lid3 $FLAC_LIBS -lsndfile -lsamplerate -lcdda_interface -lcdda_paranoia -lcrypt -ldl -lpam -lSoundTouch")
AC_SUBST(LIB_RDLIBS,"-lm -lpthread -lqui -lrd -lcurl -lid3 $FLAC_LIBS -lsndfile -lsamplerate -lcdda_interface -lcdda_paranoia -lcrypt -ldl -lpam -lSoundTouch")
#
# Setup MPEG Dependencies

View File

@ -38,7 +38,7 @@ void RDCreateLogTable(const QString &name)
QString RDCreateLogTableSql(QString name)
{
return QString("create table if not exits `")+RDLog::tableName(name)+"`"+
return QString("create table if not exists `")+RDLog::tableName(name)+"`"+
"(ID INT NOT NULL PRIMARY KEY,"+
"COUNT INT NOT NULL,"+
"TYPE INT DEFAULT 0,"+