Hi,
I've been compiling various stuff under a Sheeva-with-Linux 2.6.34.2 Kernel / Debian Squeeze. Most programs compiled all right once I had build-essential etc.
This one doesn't and I'm no developer so I have difficulty in understanding the issue - and would appreciate your help. Error message says:
Plugin mcli:
make[1]: Entering directory `/usr/local/src/vdr/vdr-1.7.15/PLUGINS/src/vdr-mcli-plugin'
make -C mcast/client/
make[2]: Entering directory `/usr/local/src/vdr/vdr-1.7.15/PLUGINS/src/vdr-mcli-plugin/mcast/client'
gcc -c -g -O2 -Wall -fPIC -Wall -I../common -DCLIENT -DLIBRARY -D_REENTRANT -D_GNU_SOURCE -DAPI_SOCK -I../dvbloop `xml2-config --cflags` -O3 -o mld_common.o mld_common.c
mld_common.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token
make[2]: *** [mld_common.o] Fehler 1
make[2]: Leaving directory `/usr/local/src/vdr/vdr-1.7.15/PLUGINS/src/vdr-mcli-plugin/mcast/client'
make[1]: *** [libmcli.so] Fehler 2
make[1]: Leaving directory `/usr/local/src/vdr/vdr-1.7.15/PLUGINS/src/vdr-mcli-plugin'
I've now done further digging and the file that the debugger stumbles over just contains:
link ../common/mld_common.c
...and in fact that's where the actual source file is. If I go ahead and replace the text file containing the link with a symlink to the source file, the compiler gos ahead and produces "mld_common.o" - before it stalls at the next link contained in a textfile.
So apparently the linking stuff is the issue. Is there any way I can tell gcc in the makefile to follow these links? It's quite a couple so making symlinks would take time...
Any help appreciated.
Thanks very much!