[etherlab-users] ./configure not succeeding
Jeff Krasky
jeff.krasky at dspcg.com
Thu Jul 14 17:15:49 CEST 2011
> Well almost, I'm using 2.6.16.46.
Hopefully it's close enough. :)
> Yes, seen those warnings and patched out in master/globals.h;
>
>#if LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 16)
>#include <asm/semaphore.h>
>#include <stdbool.h>
>#endif
I pasted that and then I removed the spaces in KERNEL_VERSION(2,6,16) and I
kept having a problem with that line. Here is the output.
Making all in tool
make[2]: Entering directory `/root/Desktop/etherlabmaster-4adb56c4198d/tool'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT soe_errors.o -MD -MP -MF
".deps/soe_errors.Tpo" -c -o soe_errors.o `test -f '../master/soe_errors.c'
|| echo './'`../master/soe_errors.c; \
then mv -f ".deps/soe_errors.Tpo" ".deps/soe_errors.Po"; else rm -f
".deps/soe_errors.Tpo"; exit 1; fi
In file included from ../master/soe_errors.c:37:
../master/globals.h:42:41: error: missing binary operator before token "("
make[2]: *** [soe_errors.o] Error 1
make[2]: Leaving directory `/root/Desktop/etherlabmaster-4adb56c4198d/tool'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/etherlabmaster-4adb56c4198d'
make: *** [all] Error 2
The error missing binary operator before token "(" is with the line #if
LINUX_VERSION_CODE == KERNEL_VERSION(2,6,16)
> I have it building now without tty or generic and added the 8139too as
> well. I can place it on the Open Build Service and you could rebuild
> from a src rpm?
What does that mean? Actually, why is compiling this thing so difficult
anyways? Maybe I'm just not versed enough in Linux, but shouldn't a person
be able to download some source code and easily compile it? I'm not trying
to sound upset, I'm just overwhelmed, that's all. Anyways, what I'm looking
for is to run this code on Linux and make my own Master program that I can
customize to different slaves. If the option "rebuild from a src rpm" (I'm
not sure what that means) will accomplish my goal then I'm all for it. :)
Thanks,
Jeff
More information about the Etherlab-users
mailing list