|
From: sys-admin <sys...@ar...> - 2010-11-12 14:17:02
|
you are right! no libsdn Development installed. thanks!! On 12/11/2010 15:03, Juan Ramírez wrote: > >> In file included from LibSndFileFile.cpp:17: > >> LibSndFileFile.h:20:21: error: sndfile.h: No such file or directory > > this could be an stupid question but... do you have the development > package of libsdn installes? > > if you have it chek where sndfile.h is and add the include directory > to your CFLAGS > > locate sndfile.h > ./configure CFLAGS=-I/path/to/sndfile.h > > > Saludos! > Juan > > > > > On Fri, Nov 12, 2010 at 8:41 AM, sys-admin <you dont > jsy...@ar... <mailto:jsy...@ar...>> wrote: > > hi all, > > I'm trying comple oreka from the source. > i get the source from svn: > svn co https://svn.sourceforge.net/svnroot/oreka/trunk/ > > i follow this instruction and i start compile orkbasecxx: > > cp /usr/share/aclocal/libtool.m4 aclocal.m4 > libtoolize --force > automake -a > make -f Makefile.cvs > ./configure > make > sudo make install > > when i try to *make* i got the folloqing error. > someone can give me an help? > > make all-recursive > make[1]: Entering directory `/root/build/oreka/oreka/trunk/orkbasecxx' > Making all in messages > make[2]: Entering directory > `/root/build/oreka/oreka/trunk/orkbasecxx/messages' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/root/build/oreka/oreka/trunk/orkbasecxx/messages' > Making all in serializers > make[2]: Entering directory > `/root/build/oreka/oreka/trunk/orkbasecxx/serializers' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/root/build/oreka/oreka/trunk/orkbasecxx/serializers' > Making all in audiofile > make[2]: Entering directory > `/root/build/oreka/oreka/trunk/orkbasecxx/audiofile' > if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H > -I. -I. -I.. -I.. -I../../orkbasecxx -D_REENTRANT -g -O2 -MT > LibSndFileFile.lo -MD -MP -MF ".deps/LibSndFileFile.Tpo" -c -o > LibSndFileFile.lo LibSndFileFile.cpp; \ > then mv -f ".deps/LibSndFileFile.Tpo" > ".deps/LibSndFileFile.Plo"; else rm -f ".deps/LibSndFileFile.Tpo"; > exit 1; fi > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../../orkbasecxx > -D_REENTRANT -g -O2 -MT LibSndFileFile.lo -MD -MP -MF > .deps/LibSndFileFile.Tpo -c LibSndFileFile.cpp -fPIC -DPIC -o > .libs/LibSndFileFile.o > In file included from LibSndFileFile.cpp:17: > LibSndFileFile.h:20:21: error: sndfile.h: No such file or directory > LibSndFileFile.h:41: error: 'SF_INFO' does not name a type > LibSndFileFile.h:42: error: ISO C++ forbids declaration of > 'SNDFILE' with no type > LibSndFileFile.h:42: error: expected ';' before '*' token > LibSndFileFile.cpp: In constructor > 'LibSndFileFile::LibSndFileFile(int)': > LibSndFileFile.cpp:22: error: 'm_fileInfo' was not declared in > this scope > LibSndFileFile.cpp:28: error: 'm_pFile' was not declared in this scope > LibSndFileFile.cpp: In member function 'virtual void > LibSndFileFile::Open(CStdString&, AudioFile::fileOpenModeEnum, > bool, int)': > LibSndFileFile.cpp:50: error: 'm_fileInfo' was not declared in > this scope > LibSndFileFile.cpp:54: error: 'm_fileInfo' was not declared in > this scope > LibSndFileFile.cpp:59: error: 'm_fileInfo' was not declared in > this scope > LibSndFileFile.cpp:64: error: 'm_fileInfo' was not declared in > this scope > LibSndFileFile.cpp:67: error: 'm_fileInfo' was not declared in > this scope > LibSndFileFile.cpp:67: error: 'sf_format_check' was not declared > in this scope > LibSndFileFile.cpp:75: error: 'SFM_READ' was not declared in this > scope > LibSndFileFile.cpp:75: error: 'SFM_WRITE' was not declared in this > scope > LibSndFileFile.cpp:76: error: 'm_pFile' was not declared in this scope > LibSndFileFile.cpp:76: error: 'm_fileInfo' was not declared in > this scope > LibSndFileFile.cpp:76: error: 'sf_open' was not declared in this scope > LibSndFileFile.cpp: In member function 'virtual void > LibSndFileFile::WriteChunk(AudioChunkRef)': > LibSndFileFile.cpp:95: error: 'm_pFile' was not declared in this scope > LibSndFileFile.cpp:128: error: 'sf_write_raw' was not declared in > this scope > LibSndFileFile.cpp:138: error: 'sf_write_raw' was not declared in > this scope > LibSndFileFile.cpp:173: error: 'sf_write_short' was not declared > in this scope > LibSndFileFile.cpp:183: error: 'sf_write_short' was not declared > in this scope > LibSndFileFile.cpp: In member function 'virtual int > LibSndFileFile::ReadChunkMono(AudioChunkRef&)': > LibSndFileFile.cpp:201: error: 'm_pFile' was not declared in this > scope > LibSndFileFile.cpp:205: error: 'sf_read_short' was not declared in > this scope > LibSndFileFile.cpp: In member function 'virtual void > LibSndFileFile::Close()': > LibSndFileFile.cpp:221: error: 'm_pFile' was not declared in this > scope > LibSndFileFile.cpp:223: error: 'sf_close' was not declared in this > scope > make[2]: *** [LibSndFileFile.lo] Error 1 > make[2]: Leaving directory > `/root/build/oreka/oreka/trunk/orkbasecxx/audiofile' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/build/oreka/oreka/trunk/orkbasecxx' > make: *** [all] Error 2 > > > my ./configure is: > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g++... g++ > checking for C++ compiler default output file name... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking build system type... i686-redhat-linux-gnu > checking host system type... i686-redhat-linux-gnu > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking dependency style of gcc... gcc3 > checking for a sed that does not truncate output... /bin/sed > checking for egrep... grep -E > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognise dependent libraries... pass_all > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking how to run the C++ preprocessor... g++ -E > checking for g77... no > checking for f77... no > checking for xlf... no > checking for frt... no > checking for pgf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for f90... no > checking for xlf90... no > checking for pgf90... no > checking for epcf90... no > checking for f95... f95 > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether f95 accepts -g... yes > checking the maximum length of command line arguments... 32768 > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking whether the gcc linker (/usr/bin/ld) supports shared > libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > configure: creating libtool > appending configuration tag "CXX" to libtool > checking for ld used by g++... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes > checking for g++ option to produce PIC... -fPIC > checking if g++ PIC flag -fPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > appending configuration tag "F77" to libtool > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for f95 option to produce PIC... -fPIC > checking if f95 PIC flag -fPIC works... yes > checking if f95 static flag -static works... yes > checking if f95 supports -c -o file.o... yes > checking whether the f95 linker (/usr/bin/ld) supports shared > libraries... yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > configure: creating ./config.status > config.status: creating Makefile > config.status: creating messages/Makefile > config.status: creating serializers/Makefile > config.status: creating audiofile/Makefile > config.status: creating filters/Makefile > config.status: creating filters/gsm/Makefile > config.status: creating filters/gsm/gsm610/Makefile > config.status: creating filters/ilbc/Makefile > config.status: creating filters/ilbc/ilbc/Makefile > config.status: creating filters/audiogain/Makefile > config.status: creating filters/g722codec/Makefile > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing depfiles commands > > > thanks > lorenzo > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* <http://www.mailscanner.info/>, > and is > believed to be clean. > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Oreka-devel mailing list > Ore...@li... > <mailto:Ore...@li...> > https://lists.sourceforge.net/lists/listinfo/oreka-devel > > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is > believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |