[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-devel
Subject: [IPCop-devel] Build Error on Ubuntu 8 kernel 2.6.24-17-server
From: Psycho Ph <degreane () yahoo ! com>
Date: 2008-05-29 18:50:59
Message-ID: 274394.93506.qm () web37507 ! mail ! mud ! yahoo ! com
[Download RAW message or body]
Good day.
I am trying to build ipcop 2 from svn as described in
http://www.ipcop.org/index.php?module=pnWikka&tag=IPCop2BuildingHowto
on Ubuntu 8 kernel 2.6.24-17 with gcc version 4.2.3
and i get this error when i do ./make.sh build
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings \
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long \
-Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition \
-Wmissing-format-attribute -fno-common -Wno-error -fomit-frame-pointer \
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.2.3/gcc \
-I../../gcc-4.2.3/gcc/build -I../../gcc-4.2.3/gcc/../include \
-I../../gcc-4.2.3/gcc/../libcpp/include -I../../gcc-4.2.3/gcc/../libdecnumber \
-I../libdecnumber -o build/gengtype-lex.o ../../gcc-4.2.3/gcc/gengtype-lex.c \
gengtype-lex.c:3399: warning: no previous prototype for 'yyget_lineno' \
gengtype-lex.c:3408: warning: no previous prototype for 'yyget_in' \
gengtype-lex.c:3416: warning: no previous prototype for 'yyget_out' \
gengtype-lex.c:3424: warning: no previous prototype for 'yyget_leng' \
gengtype-lex.c:3433: warning: no previous prototype for 'yyget_text' \
gengtype-lex.c:3442: warning: no previous prototype for 'yyset_lineno' \
gengtype-lex.c:3454: warning: no previous prototype for 'yyset_in' \
gengtype-lex.c:3459: warning: no previous prototype for 'yyset_out' \
gengtype-lex.c:3464: warning: no previous prototype for 'yyget_debug' \
gengtype-lex.c:3469: warning: no previous prototype for 'yyset_debug' \
gengtype-lex.c:3475: warning: no previous prototype for 'yylex_destroy' gcc -c -g \
-fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros \
-Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -fno-common \
-Wno-error -fomit-frame-pointer -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild \
-I../../gcc-4.2.3/gcc -I../../gcc-4.2.3/gcc/build -I../../gcc-4.2.3/gcc/../include \
-I../../gcc-4.2.3/gcc/../libcpp/include -I../../gcc-4.2.3/gcc/../libdecnumber \
-I../libdecnumber -o build/gengtype-yacc.o ../../gcc-4.2.3/gcc/gengtype-yacc.c In \
file included from ./tm.h:15,
from \
/scratch/joseph/4.2.3/gcc-4.2.3/gcc-4.2.3/gcc/gengtype-yacc.y:26:
../../gcc-4.2.3/gcc/config/linux.h:1: error: expected identifier or '(' before '-' \
token In file included from \
/scratch/joseph/4.2.3/gcc-4.2.3/gcc-4.2.3/gcc/gengtype-yacc.y:27:
../../gcc-4.2.3/gcc/gengtype.h:25: warning: ISO C does not allow extra ';' outside of \
a function
../../gcc-4.2.3/gcc/gengtype.h:62: error: field 'line' has incomplete type
../../gcc-4.2.3/gcc/gengtype.h:86: error: field 'line' has incomplete type
../../gcc-4.2.3/gcc/gengtype.h:100: error: field 'line' has incomplete type
make[4]: *** [build/gengtype-yacc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from ./tm.h:15,
from ../../gcc-4.2.3/gcc/gengtype.c:24:
../../gcc-4.2.3/gcc/config/linux.h:1: error: expected identifier or '(' before '-' \
token In file included from ../../gcc-4.2.3/gcc/gengtype.c:25:
../../gcc-4.2.3/gcc/gengtype.h:25: warning: ISO C does not allow extra ';' outside of \
a function
../../gcc-4.2.3/gcc/gengtype.h:62: error: field 'line' has incomplete type
../../gcc-4.2.3/gcc/gengtype.h:86: error: field 'line' has incomplete type
../../gcc-4.2.3/gcc/gengtype.h:100: error: field 'line' has incomplete type
../../gcc-4.2.3/gcc/gengtype.c: In function 'error_at_line':
../../gcc-4.2.3/gcc/gengtype.c:45: error: dereferencing pointer to incomplete type
../../gcc-4.2.3/gcc/gengtype.c:45: error: dereferencing pointer to incomplete type
../../gcc-4.2.3/gcc/gengtype.c: In function 'do_typedef':
../../gcc-4.2.3/gcc/gengtype.c:120: error: dereferencing pointer to incomplete type
../../gcc-4.2.3/gcc/gengtype.c: In function 'new_structure':
../../gcc-4.2.3/gcc/gengtype.c:154: error: dereferencing pointer to incomplete type
../../gcc-4.2.3/gcc/gengtype.c:210: error: dereferencing pointer to incomplete type
../../gcc-4.2.3/gcc/gengtype.c: In function 'note_variable':
../../gcc-4.2.3/gcc/gengtype.c:332: error: dereferencing pointer to incomplete type
../../gcc-4.2.3/gcc/gengtype.c: In function 'walk_type':
../../gcc-4.2.3/gcc/gengtype.c:1857: error: dereferencing pointer to incomplete type
../../gcc-4.2.3/gcc/gengtype.c:1857: error: dereferencing pointer to incomplete type
../../gcc-4.2.3/gcc/gengtype.c: In function 'main':
../../gcc-4.2.3/gcc/gengtype.c:3030: error: variable 'pos' has initializer but \
incomplete type
../../gcc-4.2.3/gcc/gengtype.c:3030: warning: excess elements in struct initializer
../../gcc-4.2.3/gcc/gengtype.c:3030: warning: (near initialization for 'pos')
../../gcc-4.2.3/gcc/gengtype.c:3030: warning: excess elements in struct initializer
../../gcc-4.2.3/gcc/gengtype.c:3030: warning: (near initialization for 'pos')
../../gcc-4.2.3/gcc/gengtype.c:3030: error: storage size of 'pos' isn't known
../../gcc-4.2.3/gcc/gengtype.c:3030: warning: unused variable 'pos'
make[4]: *** [build/gengtype.o] Error 1
make[4]: Leaving directory \
`/home/psycho/trunk/build_i486/ipcop/usr/src/gcc-build/gcc' make[3]: *** \
[all-stage1-gcc] Error 2 make[3]: Leaving directory \
`/home/psycho/trunk/build_i486/ipcop/usr/src/gcc-build' make[2]: *** [stage1-bubble] \
Error 2 make[2]: Leaving directory \
`/home/psycho/trunk/build_i486/ipcop/usr/src/gcc-build' make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/psycho/trunk/build_i486/ipcop/usr/src/gcc-build'
make: *** [/home/psycho/trunk/log_i486/01_toolchain/gcc-4.2.3-pass2] Error 2
any luck with this
Thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
IPCop-devel mailing list
IPCop-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic