Bug #44
closedEngine fails to build on OSX/FreeBSD with --enable-unittests
Description
Engine fails to build on OSX/FreeBSD with --enable-unittests as fmemopen() doesn't exist on these platforms.
STDERR:util-debug.c: In function 'SCLogMessage':
util-debug.c:331: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'int'
util-debug.c:331: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'int'
util-daemon.c: In function 'TellWaitingParent':
util-daemon.c:34: warning: implicit declaration of function 'kill'
util-classification-config.c: In function 'SCClassConfGenerateValidDummyClassConfigFD01':
util-classification-config.c:474: warning: implicit declaration of function 'fmemopen'
util-classification-config.c:474: warning: assignment makes pointer from integer without a cast
util-classification-config.c: In function 'SCClassConfGenerateInValidDummyClassConfigFD02':
util-classification-config.c:498: warning: assignment makes pointer from integer without a cast
util-classification-config.c: In function 'SCClassConfGenerateInValidDummyClassConfigFD03':
util-classification-config.c:519: warning: assignment makes pointer from integer without a cast
util-classification-config.o(.text+0x16e): In function `SCClassConfGenerateInValidDummyClassConfigFD03':
/testresults/2010-01-04-17-25-14/FreeBSD-8.0-32-bit/oisf/src/util-classification-config.c:519: undefined reference to `fmemopen'
util-classification-config.o(.text+0x19e): In function `SCClassConfGenerateInValidDummyClassConfigFD02':
/testresults/2010-01-04-17-25-14/FreeBSD-8.0-32-bit/oisf/src/util-classification-config.c:498: undefined reference to `fmemopen'
util-classification-config.o(.text+0x1ce): In function `SCClassConfGenerateValidDummyClassConfigFD01':
/testresults/2010-01-04-17-25-14/FreeBSD-8.0-32-bit/oisf/src/util-classification-config.c:474: undefined reference to `fmemopen'
Files
Updated by Pablo Rincon almost 15 years ago
- File 0001-Wrapper-for-fmemopen-for-osx-and-freebsd.patch added
- % Done changed from 0 to 50
This fmemopen() wrapper should work on freebsd too. I need someone to test the attached patch.
Updated by Pablo Rincon almost 15 years ago
- File deleted (
0001-Wrapper-for-fmemopen-for-osx-and-freebsd.patch)
Updated by Pablo Rincon almost 15 years ago
- File 0001-Wrapper-for-fmemopen-fix-for-macosx-and-freebsd.patch added
adding some changes, renaming to util-fmemopen.{c,h}
Updated by Pablo Rincon almost 15 years ago
- File deleted (
0001-Wrapper-for-fmemopen-fix-for-macosx-and-freebsd.patch)
Updated by Pablo Rincon almost 15 years ago
- File 0001-Adding-fmemopen-wrapper-fix-compilation-issues-on-ma.patch added
Fixing naming conventions for fmemopen wrapper
Updated by Pablo Rincon almost 15 years ago
- File deleted (
0001-Adding-fmemopen-wrapper-fix-compilation-issues-on-ma.patch)
Updated by Pablo Rincon almost 15 years ago
- File 0001-fmemopen-wrapper-fix-osx-and-freebsd-compilation-iss.patch added
Changed fmemopen to our naming conventions. Please, use SCFmemopen().
Updated by Pablo Rincon almost 15 years ago
- File deleted (
0001-fmemopen-wrapper-fix-osx-and-freebsd-compilation-iss.patch)
Updated by Pablo Rincon almost 15 years ago
- File 0001-fmemopen-wrapper-implementation-fix-unittest-compila.patch added
Adding some fixes
Updated by Pablo Rincon almost 15 years ago
- File deleted (
0001-fmemopen-wrapper-implementation-fix-unittest-compila.patch)
Updated by Pablo Rincon almost 15 years ago
- File 0001-fmemopen-wrapper-added-fix-compilation-problems-on-m.patch 0001-fmemopen-wrapper-added-fix-compilation-problems-on-m.patch added
Forgot to commit a file
Updated by Victor Julien almost 15 years ago
- Status changed from Assigned to Closed