Tacherl.
So ich hab mich mal drann gemacht, den LSB (LiveShifting-Patch [hier noch AutoShifting genannt]) zu schreiben. Eigentlich lufft auch alles gut.
ich hab dafür nee weitere Klasse angelegt (in Anlehung an "recorder.c") Diese lässt sich nun auch ohne Probleme kompilieren. Naja. Ohne Probleme nicht ganz. Ich habe dies in die $OBJ-Variable in der Makefile zugefügt, nun bekomme ich foglende Fehlermeldung.
ich hab schon öfter programmiert, aber leider kaum in C++, deswegen hilft mir das, im gegenzug zu allen Fehlermeldungen zuvor, herzlich wenig. Könnt ihr mir da helfen.
(nur ein Ausschnitt)
Code
g++ -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_ -D_GNU_SOURCE -
VIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -I../DVB/linux/include transfer.c
g++ -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_ -D_GNU_SOURCE -
VIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -I../DVB/linux/include vdr.c
g++ -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_ -D_GNU_SOURCE -
VIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -I../DVB/linux/include videodir.c
g++ -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_ -D_GNU_SOURCE -
VIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -I../DVB/linux/include shifter.c
make -C ./libsi all
make[1]: Entering directory `/usr/local/src/LSB-1.3.27/libsi'
make[1]: Leaving directory `/usr/local/src/LSB-1.3.27/libsi'
make[1]: Entering directory `/usr/local/src/LSB-1.3.27/libsi'
g++ -O2 -Wall -Woverloaded-virtual -c util.c
g++ -O2 -Wall -Woverloaded-virtual -c si.c
g++ -O2 -Wall -Woverloaded-virtual -c section.c
g++ -O2 -Wall -Woverloaded-virtual -c descriptor.c
ar ru libsi.a util.o si.o section.o descriptor.o
ar: creating libsi.a
make[1]: Leaving directory `/usr/local/src/LSB-1.3.27/libsi'
g++ -O2 -Wall -Woverloaded-virtual -rdynamic audio.o channels.o ci.o config.o cutter.o device.o
diseqc.o dvbdevice.o dvbosd.o dvbplayer.o dvbspu.o eit.o eitscan.o epg.o filter.o font.o i18n.o
interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o
receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o skinclassic.o skins.o
skinsttng.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o
videodir.o shifter.o -ljpeg -lpthread -ldl ./libsi/libsi.a -o vdr
shifter.o(.text+0x5cf): In function `cShifter::cShifter(char const*, int, int, int const*, int const*, int const*)':
: undefined reference to `vtable for cShifter'
shifter.o(.text+0x6cf): In function `cShifter::cShifter(char const*, int, int, int const*, int const*, int const*)':
: undefined reference to `vtable for cShifter'
shifter.o(.text+0x7bd): In function `cShifter::~cShifter()':
: undefined reference to `vtable for cShifter'
shifter.o(.text+0x84d): In function `cShifter::~cShifter()':
: undefined reference to `vtable for cShifter'
shifter.o(.text+0x8dd): In function `cShifter::~cShifter()':
: undefined reference to `vtable for cShifter'
collect2: ld returned 1 exit status
make: *** [vdr] Error 1
Alles anzeigen
vielen Dank im Vorraus. Bn