Well, for me it took unfortunately some code editing. First add line: class HWPort;
to file at4433.h before declaration of class AvrDevice_at90s4433. This should take you one step further but is probably not the last one to succeed. Let me know if it helped. Regards, Marek On Fri, 2009-06-19 at 08:57 +0200, Gregor Lang wrote: > I want build the simulavrxx and an error is coming. > What can i do? > best regards!! > > Greg > > Listing of configure and make: > ***** > > ==> Beginne build()... > checking for a BSD-compatible install... /bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... > no checking for g++... g++ > checking for C++ compiler default output file name... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking dependency style of gcc... gcc3 > checking how to run the C preprocessor... gcc -E > checking for a BSD-compatible install... /bin/install -c > checking whether ln -s works... yes > checking whether make sets $(MAKE)... (cached) yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for a sed that does not truncate output... /bin/sed > checking for egrep... grep -E > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking how to recognise dependent libraries... pass_all > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking how to run the C++ preprocessor... g++ -E > checking for g77... no > checking for f77... no > checking for xlf... no > checking for frt... no > checking for pgf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for f90... no > checking for xlf90... no > checking for pgf90... no > checking for epcf90... no > checking for f95... no > checking for fort... no > checking for xlf95... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for gfortran... gfortran > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether gfortran accepts -g... yes > checking the maximum length of command line arguments... 32768 > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking for correct ltmain.sh version... yes > checking if gcc static flag works... yes > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc supports -c -o file.o... yes > checking whether the gcc linker (/usr/bin/ld) supports shared > libraries... yes checking whether -lc should be explicitly linked in... > no checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > configure: creating libtool > appending configuration tag "CXX" to libtool > checking for ld used by g++... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes checking for g++ option to produce PIC... -fPIC > checking if g++ PIC flag -fPIC works... yes > checking if g++ supports -c -o file.o... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... yes checking dynamic linker characteristics... GNU/Linux > ld.so checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > appending configuration tag "F77" to libtool > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for gfortran option to produce PIC... -fPIC > checking if gfortran PIC flag -fPIC works... yes > checking if gfortran supports -c -o file.o... yes > checking whether the gfortran linker (/usr/bin/ld) supports shared > libraries... yes checking dynamic linker characteristics... GNU/Linux > ld.so checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking for swig... /usr/bin/swig > checking for wish... /usr/bin/wish > checking for tclConfig.sh... /usr/lib/tclConfig.sh > MYTCL_LIB_SPEC=-L/usr/lib -ltcl8.5 > checking for avr-as... avr-as > checking for avr-ld... avr-ld > checking for avr-gcc... avr-gcc > checking for avr-g++... avr-g++ > checking for ccache... no > checking for cbreak in -lncurses... yes > checking for ANSI C header files... (cached) yes > checking arpa/inet.h usability... yes > checking arpa/inet.h presence... yes > checking for arpa/inet.h... yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking for unistd.h... (cached) yes > checking for stdbool.h that conforms to C99... yes > checking for _Bool... yes > checking for an ANSI C-conforming const... yes > checking for size_t... yes > checking for working volatile... yes > checking whether byte ordering is bigendian... no > configure: got swig user parameter > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking for stdlib.h... (cached) yes > checking for GNU libc compatible realloc... yes > checking return type of signal handlers... void > checking for vprintf... yes > checking for _doprnt... no > checking for inet_ntoa... yes > checking for memset... yes > checking for socket... yes > checking for strdup... yes > checking for strerror... yes > checking for python >= 2.1.1... yes > checking bfd search- /usr/binutils/avr/(GNU Binutils) > 2.18/i686-pc-linux-gnu/avr in "include" and "lib"... ./configure: line > 22464: test: too many arguments no checking bfd > search- /usr/binutils/avr/(GNU Binutils) 2.18/avr in "include" and > "lib"... ./configure: line 22483: test: too many arguments no checking > bfd search- /usr/binutils/avr/(GNU Binutils) 2.18 in "" and > ""... ./configure: line 22502: test: too many arguments no checking bfd > search- /usr/binutils/avr/(GNU Binutils) 2.18 in "bfd" and > "bfd"... ./configure: line 22521: test: too many arguments no checking > bfd search- /usr/binutils/avr/(GNU Binutils) 2.18 in "include" and > "lib"... ./configure: line 22540: test: too many arguments no checking > bfd search- /usr/binutils/avr/(GNU Binutils) 2.18 in "include" and > ""... ./configure: line 22559: test: too many arguments no checking bfd > search- /usr /(GNU Binutils) 2.18/i686-pc-linux-gnu/avr in "include" > and "lib"... ./configure: line 22578: /(GNU: No such file or > directory ./configure: line 22579: /(GNU: No such file or directory no > checking bfd search- /usr /(GNU Binutils) 2.18/avr in "include" and > "lib"... ./configure: line 22597: /(GNU: No such file or > directory ./configure: line 22598: /(GNU: No such file or directory no > checking bfd search- /usr /(GNU Binutils) 2.18 in "" and > ""... ./configure: line 22616: /(GNU: No such file or > directory ./configure: line 22617: /(GNU: No such file or directory no > checking bfd search- /usr /(GNU Binutils) 2.18 in "bfd" and > "bfd"... ./configure: line 22635: /(GNU: No such file or > directory ./configure: line 22636: /(GNU: No such file or directory no > checking bfd search- /usr /(GNU Binutils) 2.18 in "include" and > "lib"... ./configure: line 22654: /(GNU: No such file or > directory ./configure: line 22655: /(GNU: No such file or directory no > checking bfd search- /usr /(GNU Binutils) 2.18 in "include" and > ""... ./configure: line 22673: /(GNU: No such file or > directory ./configure: line 22674: /(GNU: No such file or directory no > checking bfd search- /usr/i686-pc-linux-gnu/avr/i686-pc-linux-gnu/avr > in "include" and "lib"... no checking bfd > search- /usr/i686-pc-linux-gnu/avr/avr in "include" and "lib"... no > checking bfd search- /usr/i686-pc-linux-gnu/avr in "" and ""... no > checking bfd search- /usr/i686-pc-linux-gnu/avr in "bfd" and "bfd"... > no checking bfd search- /usr/i686-pc-linux-gnu/avr in "include" and > "lib"... yes set libbfd_root_location to /usr/i686-pc-linux-gnu/avr > checking Any likely libiberty available > via /usr/i686-pc-linux-gnu/avr...... no checking Any likely libiberty > available via /usr/i686-pc-linux-gnu/avr/libiberty...... no checking > Any likely libiberty available via /usr/lib...... yes configure: > creating ./config.status config.status: creating Makefile > config.status: creating doc/Makefile config.status: creating > src/Makefile config.status: creating src/python/Makefile config.status: > creating regress/Makefile config.status: creating regress/regress.py > config.status: creating regress/modules/Makefile > config.status: creating regress/test_opcodes/Makefile > config.status: creating examples/Makefile > config.status: creating examples/anacomp/Makefile > config.status: creating examples/simple_ex1/Makefile > config.status: creating examples/gui.tcl > config.status: creating examples/anacomp/check.tcl > config.status: creating examples/anacomp/checkdebug.tcl > config.status: creating examples/anacomp/checkdebug.gdb > config.status: creating src/config.h > config.status: src/config.h is unchanged > config.status: executing depfiles commands > swig_path = /usr/bin/swig > libbfd.a location = /usr/i686-pc-linux-gnu/avr/lib > bfd.h location = /usr/i686-pc-linux-gnu/avr/include > libiberty location = /usr/lib > tcl include = -I/usr/include > tcl version = 8.5 > tcl lib spec = -L/usr/lib -ltcl8.5 > my tcl lib spec = -L/usr/lib -ltcl8.5 > swig_path = /usr/bin/swig > Making all in src > make[1]: Entering directory > `/home/gl/abs/simulavrxx/src/simulavrxx-0.8.006/src' make all-recursive > make[2]: Entering directory > `/home/gl/abs/simulavrxx/src/simulavrxx-0.8.006/src' Making all in > python make[3]: Entering directory > `/home/gl/abs/simulavrxx/src/simulavrxx-0.8.006/src/python' make[3]: > Für das Ziel »all« ist nichts zu tun. make[3]: Leaving directory > `/home/gl/abs/simulavrxx/src/simulavrxx-0.8.006/src/python' make[3]: > Entering directory `/home/gl/abs/simulavrxx/src/simulavrxx-0.8.006/src' > if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H > -I/usr/include -I/usr/i686-pc-linux-gnu/avr/include -I../src -I ../src > -I/usr/include -O2 -march=pentium3 -O2 -pipe -fomit-frame-pointer -MT > at4433.lo -MD -MP -MF ".deps/at4433.Tpo" -c -o at4433.lo at4433.cpp; \ > then mv -f ".deps/at4433.Tpo" ".deps/at4433.Plo"; else rm -f > ".deps/at4433.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I/usr/include > -I/usr/i686-pc-linux-gnu/avr/include -I../src -I ../src -I/usr/include > -O2 -march=pentium3 -O2 -pipe -fomit-frame-pointer -MT at4433.lo -MD > -MP -MF .deps/at4433.Tpo -c at4433.cpp -fPIC -DPIC -o .libs/at4433.o > In file included from at4433.cpp:23: at4433.h:42: error: ISO C++ > forbids declaration of 'HWPort' with no type at4433.h:42: error: > expected ';' before '*' token at4433.h:43: error: ISO C++ forbids > declaration of 'HWPort' with no type at4433.h:43: error: expected ';' > before '*' token at4433.h:44: error: ISO C++ forbids declaration of > 'HWPort' with no type at4433.h:44: error: expected ';' before '*' token > at4433.h:45: error: ISO C++ forbids declaration of 'HWPort' with no > type at4433.h:45: error: expected ';' before '*' token at4433.h:47: > error: ISO C++ forbids declaration of 'HWPort' with no type > at4433.h:47: error: expected ';' before '*' token at4433.cpp: In > constructor 'AvrDevice_at90s4433::AvrDevice_at90s4433()': > at4433.cpp:51: error: 'portb' was not declared in this scope > at4433.cpp:52: error: 'portc' was not declared in this scope > at4433.cpp:53: error: 'portd' was not declared in this scope > at4433.cpp:55: error: 'portx' was not declared in this scope > at4433.cpp:57: error: 'porty' was not declared in this scope make[3]: > *** [at4433.lo] Fehler 1 make[3]: Leaving directory > `/home/gl/abs/simulavrxx/src/simulavrxx-0.8.006/src' make[2]: *** > [all-recursive] Fehler 1 make[2]: Leaving directory > `/home/gl/abs/simulavrxx/src/simulavrxx-0.8.006/src' make[1]: *** [all] > Fehler 2 > > ****** > > ------------------------------------------------------------------------------------------------ > ------------------------------------------------------------------------------------------------ > Forschungszentrum Juelich GmbH > 52425 Juelich > Sitz der Gesellschaft: Juelich > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 > Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe > Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), > Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt, > Prof. Dr. Sebastian M. Schmidt > ------------------------------------------------------------------------------------------------ > ------------------------------------------------------------------------------------------------ > > > _______________________________________________ > Simulavr-devel mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/simulavr-devel _______________________________________________ Simulavr-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/simulavr-devel
