Hey guys,
Anyone got sems working with FBSD?
root@max:/home/ser/ser/answer_machine# gmake gmake[1]: Entering directory `/usr/home/ser/ser/answer_machine' g++ -MM AmApi.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmApi.d g++ -MM AmAudio.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmAudio.d g++ -MM AmCmd.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmCmd.d g++ -MM AmConfig.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmConfig.d g++ -MM AmEventQueue.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmEventQueue.d g++ -MM AmMail.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmMail.d g++ -MM AmPlugIn.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmPlugIn.d g++ -MM AmRequest.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmRequest.d g++ -MM AmRtpPacket.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmRtpPacket.d g++ -MM AmRtpPacketTracer.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmRtpPacketTracer.d g++ -MM AmRtpScheduler.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmRtpScheduler.d g++ -MM AmRtpStream.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmRtpStream.d g++ -MM AmSdp.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmSdp.d g++ -MM AmServer.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmServer.d g++ -MM AmSession.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmSession.d g++ -MM AmSmtpClient.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmSmtpClient.d g++ -MM AmThread.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmThread.d g++ -MM AmUtils.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > AmUtils.d g++ -MM EmailTemplate.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > EmailTemplate.d g++ -MM SemsConfiguration.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > SemsConfiguration.d g++ -MM log.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > log.d g++ -MM sems.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE > sems.d gmake[1]: Leaving directory `/usr/home/ser/ser/answer_machine' gmake[1]: Entering directory `/usr/home/ser/ser/answer_machine' g++ -c -o AmApi.o AmApi.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmAudio.o AmAudio.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmCmd.o AmCmd.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmConfig.o AmConfig.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmEventQueue.o AmEventQueue.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmMail.o AmMail.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmPlugIn.o AmPlugIn.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmRequest.o AmRequest.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmRtpPacket.o AmRtpPacket.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmRtpPacketTracer.o AmRtpPacketTracer.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmRtpScheduler.o AmRtpScheduler.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmRtpStream.o AmRtpStream.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmSdp.o AmSdp.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmServer.o AmServer.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmSession.o AmSession.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmSmtpClient.o AmSmtpClient.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmThread.o AmThread.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE g++ -c -o AmUtils.o AmUtils.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE AmUtils.cpp: In function `int write_to_fifo(const string &, const char *, unsigned int)': AmUtils.cpp:332: implicit declaration of function `int sleep(...)' AmUtils.cpp:355: implicit declaration of function `int write(...)' AmUtils.cpp:356: implicit declaration of function `int close(...)' gmake[1]: *** [AmUtils.o] Error 1 gmake[1]: Leaving directory `/usr/home/ser/ser/answer_machine' gmake: [all] Error 2 (ignored) root@max:/home/ser/ser/answer_machine# gmake install gmake[1]: Entering directory `/usr/home/ser/ser/answer_machine' gmake[1]: Nothing to be done for `deps'. gmake[1]: Leaving directory `/usr/home/ser/ser/answer_machine' gmake[1]: Entering directory `/usr/home/ser/ser/answer_machine' g++ -c -o AmUtils.o AmUtils.cpp -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE AmUtils.cpp: In function `int write_to_fifo(const string &, const char *, unsigned int)': AmUtils.cpp:332: implicit declaration of function `int sleep(...)' AmUtils.cpp:355: implicit declaration of function `int write(...)' AmUtils.cpp:356: implicit declaration of function `int close(...)' gmake[1]: *** [AmUtils.o] Error 1 gmake[1]: Leaving directory `/usr/home/ser/ser/answer_machine' gmake: [all] Error 2 (ignored) sed -e "s#/usr/.*lib/sems/audio/#/usr/local/lib/sems/audio/#g" \ -e "s#/usr/.*lib/sems/plug-in/#/usr/local/lib/sems/plug-in/#g" \ < sems.conf.sample > /usr/local/etc/sems/sems.conf.default chmod 644 /usr/local/etc/sems/sems.conf.default if [ ! -f /usr/local/etc/sems/sems.conf ]; then \ mv -f /usr/local/etc/sems/sems.conf.default \ /usr/local/etc/sems/sems.conf; \ fi touch /usr/local/sbin/sems install -m 755 sems /usr/local/sbin/ install: sems: No such file or directory gmake: *** [install-bin] Error 71
Thanks Barry