Page 1 of 1

I got error while make;make install

Posted: 15 Nov 2007 09:41
by burnptt
Hi,
It's really impatient and rude to post such a silly question about make .

But I still can't figure out what to do.

I'd got lots of errors, eventually I fixed most of them., Still hangs big problem.

while I run make,

this kinda error occurs.


===============
root@burnett-desktop:/home/burnett/vls-0.5.6# make
Compiling src/core/application.cpp...
g++ -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/usr/local/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG -o obj/core/application.o -c src/core/application.cpp
src/core/serialization.h:43: warning: ‘class C_Serializable’ has virtual functions but non-virtual destructor
src/core/hashtable.h:66: error: an explicit specialization must be preceded by ‘template <>’
src/core/hashtable.h:79: error: an explicit specialization must be preceded by ‘template <>’
src/core/hashtable.h:92: error: an explicit specialization must be preceded by ‘template <>’
src/core/parsers.h:53: warning: ‘class C_ParserHandler’ has virtual functions but non-virtual destructor
src/core/library.cpp: In member function ‘void C_Library<Type, Arg>::Load()’:
src/core/library.cpp:82: error: ‘DL_LAZY’ was not declared in this scope
src/core/library.cpp:82: error: there are no arguments to ‘dlopen’ that depend on a template parameter, so a declaration of ‘dlopen’ must be available
src/core/library.cpp:82: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
src/core/library.cpp:93: error: there are no arguments to ‘dlsym’ that depend on a template parameter, so a declaration of ‘dlsym’ must be available
src/core/library.cpp:110: error: there are no arguments to ‘dlsym’ that depend on a template parameter, so a declaration of ‘dlsym’ must be available
src/core/library.cpp: In member function ‘void C_Library<Type, Arg>::Unload()’:
src/core/library.cpp:133: error: there are no arguments to ‘dlclose’ that depend on a template parameter, so a declaration of ‘dlclose’ must be available
src/core/library.cpp: In member function ‘C_String C_Library<Type, Arg>::GetLoaderError()’:
src/core/library.cpp:177: error: there are no arguments to ‘dlerror’ that depend on a template parameter, so a declaration of ‘dlerror’ must be available
make: *** [obj/core/application.o] 오류 1
==============

How can I do?

P.S - I'm totally newbie of ubuntu and linux.

Thanks.

Regards.

Re: I got error while make;make install

Posted: 16 Nov 2007 04:00
by burnptt
There's another error saying

Compiling src/mpeg/streamdescr.cpp...
g++ -I/usr/local/include -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/usr/local/vls/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG -o obj/mpeg/streamdescr.o -c src/mpeg/streamdescr.cpp
src/mpeg/streamdescr.cpp: In member function ‘void C_ElementDescriptor::AddLanguageCode(const char*)’:
src/mpeg/streamdescr.cpp:70: error: ‘struct dvbpsi_iso639_dr_t’ has no member named ‘i_iso_639_code’
src/mpeg/streamdescr.cpp:71: error: ‘struct dvbpsi_iso639_dr_t’ has no member named ‘i_audio_type’

Thanks..

Re: I got error while make;make install

Posted: 16 Nov 2007 08:10
by Jean-Baptiste Kempf
Gosh, why are you using VLS ?