I can confirm that this gcc 3.2 indeed does not work with the pc target -- not sure if the simulator guys have looked at this or not.
-Sam On Wed, Oct 23, 2002 at 10:58:21AM +0200, Mads Bondo Dydensborg wrote: > Hi > > Seems compiling for the pc target is broken for gcc 3.2? Or is it just my > configuration that is broken? Works fine with gcc 2.96, following error > for 3.2: > > madsdyd@amigos34 CntToRfm 100%]$ make pc > mkdir -p build/pc > compiling CntToRfm to a pc binary > ncc -board=micasb -o build/pc/main.exe -g -O0 -pthread -target=pc -Wall > -Wshadow -DDEF_TOS_AM_GROUP=0x7d -fnesc-nido-tosnodes=1000 > -fnesc-cfile=build/pc/app.c CntToRfm.nc -lm > ncc about to execute: > gcc -specs=/usr/local/avr//lib/ncc/tdspecs -DPLATFORM_PC -DBOARD_MICASB -o > build/pc/main.exe -g -O0 -pthread -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d > -fnesc-nido-tosnodes=1000 -fnesc-cfile=build/pc/app.c CntToRfm.nc -lm > -fnesc-target=pc > -I/home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/sensorboards/micasb > -I/home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/platform/pc > -I/home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/interfaces > -I/home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/types > -I/home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/system > -I/home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/lib > In file included from /usr/include/_G_config.h:44, > from /usr/include/libio.h:32, > from > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdio.h:74, > from > /home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/platform/pc/hardware.h:64, > from > /home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/system/tos.h:127: > /usr/include/gconv.h:172: field `__data' has incomplete type > In file included from /usr/include/sys/socket.h:35, > from > /home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/platform/pc/external_comm.h:93, > from > /home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/platform/pc/hardware.h:82, > from > /home/madsdyd/DIKU/TinyOS/tinyos-1.x-diku/tos/system/tos.h:127: > /usr/include/bits/socket.h:237: field `__cmsg_data' has incomplete type > make: *** [build/pc/main.exe] Error 1 > > I don't mind tracking the problem down if someone can confirm that there > indeed is an issue. > > Thanks! > > Mads > > -- > +----------------------------------------------------------------------+ > | Mads Bondo Dydensborg. http://www.diku.dk/users/madsdyd | > | +45 35 32 14 18 | > +----------------------------------------------------------------------+ > > _______________________________________________ > Tinyos-users mailing list > [EMAIL PROTECTED] > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users _______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
