I don't think symlinking is the only fix.
Try this guide... It worked for me. http://www.auburn.edu/~kellebc/TinyOS-GCCWorkaround.pdf Specifically the part about the libc.so Be sure to keep a backup of the changes, or that pdf so you change back to 40 if need be. I have some scripts to change back and forth, but it takes some more instructions. Email me if you need them. Ben > -----Original Message----- > From: Cormac Duffy [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 15, 2006 04:48 > To: [EMAIL PROTECTED] > Cc: tinyos-help@Millennium.Berkeley.EDU > Subject: RE: [Tinyos-help] failed to parse GuiMsg.h, TOSSIM > wont work,notall java tools compile > > Hi Ben, > this error also manifests in the make pc (shown below) I have > attached a text file of the make output, its long enough. > I read somewhere on the net that gcc 4.x does not work well > with make pc, I therefor added gcc compat for fedora core 4, > and put in a new gcc symlink to the gcc compat, so gcc is > version 3.something now. > > > [EMAIL PROTECTED] Blink]$ make pc sim > mkdir -p build/pc > compiling Blink to a pc binary > ncc -o build/pc/main.exe -g -O0 -pthread > -fnesc-nido-tosnodes=1000 -fnesc-simulate -Wall -Wshadow > -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc > -fnesc-cfile=build/pc/app.c -board=micasb > -DIDENT_PROGRAM_NAME=\"Blink\" -DIDENT_USER_ID=\"cd5\" > -DIDENT_HOSTNAME= \"p2-23.ucc.ie\" > -DIDENT_USER_HASH=0x3285aa26L -DIDENT_UNIX_TIME=0x44e19710L > -DIDENT_UID_HASH=0x4928aea6L Blink.nc -lm In file included > from /home/cd5/workspace/tinyos-1.x/tos/platform/pc/event_queue.h:61, > > from /home/cd5/workspace/tinyos-1.x/tos/platform/pc/nido.h:77, > > from /home/cd5/workspace/tinyos-1.x/tos/platform/pc/hardware.h:43, > > from /home/cd5/workspace/tinyos-1.x/tos/system/tos.h:144: > /usr/include/pthread.h:459: requested alignment is not a constant > make: *** [exe0] Error 1 > > > > > On Mon, 2006-08-14 at 10:04 -0500, Ben Kelley wrote: > > I've been using FC4, and I've never seen that error, I don't think. > > > > Can you post the full build log? > > > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > Cormac Duffy > > > Sent: Monday, August 14, 2006 08:15 > > > To: tinyos-help@Millennium.Berkeley.EDU > > > Subject: [Tinyos-help] failed to parse GuiMsg.h, TOSSIM wont > > > work,not all java tools compile > > > > > > hi was wondering if anyone has seen this error before. > > > Am using fedora core 4/nescc: 1.2.7a/ > > > > > > failed to parse message file > > > ../../../../../../tos/platform/pc/GuiMsg.h > > > am using gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4) > > > > > > anyone any ideas? > > > all the best > > > Cormac > > > > > > > > > > > > In file included > > > from > > > /home/cd5/workspace/tinyos-1.x/tos/platform/pc/event_queue.h:61, > > > > > > from /home/cd5/workspace/tinyos-1.x/tos/platform/pc/nido.h:77, > > > > > > from /home/cd5/workspace/tinyos-1.x/tos/platform/pc/hardware.h:43, > > > > > > from /home/cd5/workspace/tinyos-1.x/tos/system/tos.h:144: > > > /usr/include/pthread.h:459: requested alignment is not a constant > > > failed to parse message file > > > ../../../../../../tos/platform/pc/GuiMsg.h > > > > > > make[4]: *** [DebugMsgEvent.java] Error 1 > > > make[4]: Leaving directory > > > `/home/cd5/workspace/tinyos-1.x/tools/java/net/tinyos/sim/msg' > > > make[3]: *** [sim] Error 2 > > > make[3]: Leaving directory > > > `/home/cd5/workspace/tinyos-1.x/tools/java/net/tinyos/plot' > > > make[3]: Entering directory > > > `/home/cd5/workspace/tinyos-1.x/tools/java/net/tinyos/tools' > > > ... /home/cd5/workspace/tinyos-1.x/tools/java/net/tinyos/tools > > > > > > > > > > > > _______________________________________________ > > > Tinyos-help mailing list > > > Tinyos-help@Millennium.Berkeley.EDU > > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/ > > > tinyos-help > > > > > _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help