Dangerous Prototypes

Other projects => Past projects => Web platform => Topic started by: voidptr on February 02, 2011, 09:50:36 am

Title: FreeRTOS- eric won't build noob question....
Post by: voidptr on February 02, 2011, 09:50:36 am
noob here again :P
i try to compile the FreeRTOS - eric  from the trunk and it stop at the linker ...
im noob about mplab, but i can compile link program run debug some other stuff without problem ...

here what i got ...

i guest it is some  stuff to set correctly, but i don't know ...
any hint ?

-----------------------
Executing: "C:Program FilesMicrochipmplabc30v3.25binpic30-gcc.exe" -mcpu=33FJ128GP204 "binff.o" "binuip.o" "binuip_arp.o" "bintimer.o" "binmmc.o" "binpsock.o" "binhttpd.o" "binhttpd-cgi.o" "binhttp-strings.o" "bindhcpc.o" "binenc28j60.o" "binlogger.o" "binmain.o" "binnic.o" "binnic_dma.o" "binrtcc.o" "binosc.o" "binpps.o" "binserial.o" "binwrite.o" "binconsole.o" "binportasm_dsPIC.o" "bincroutine.o" "binheap_1.o" "binlist.o" "binport.o" "binqueue.o" "bintasks.o" "bingpio.o" "binuip_task.o" "bindelay.o" -o"binWebPlatform.cof" -Wl,--script="srcp33FJ128GP204.gld",--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--heap=0,--stack=512,-Map="binWebPlatform.map"
Microchip MPLAB C30 License Manager Version v3_25 (Build Date Oct 11 2010).
Copyright (c) 2008 Microchip Technology Inc. All rights reserved.
The MPLAB C30 license manager command-line is invalid.
pic30-coff-cc1.exe: warning: License manager failure, please contact your support
  representative or http://support.microchip.com (http://support.microchip.com)

Options have been disabled due to invalid license
Visit http://www.microchip.com/ (http://www.microchip.com/) to purchase a new key.
powers.o: Link Error: Could not allocate section .data, size = 352 bytes, attributes = data
stdclean.o: Link Error: Could not allocate section .data, size = 98 bytes, attributes = data
binpsock.o: Link Error: Could not allocate section .bss, size = 80 bytes, attributes = bss
binserial.o: Link Error: Could not allocate section .bss, size = 76 bytes, attributes = bss
bincroutine.o: Link Error: Could not allocate section .bss, size = 64 bytes, attributes = bss
bindhcpc.o: Link Error: Could not allocate section .bss, size = 44 bytes, attributes = bss
doprnt.o: Link Error: Could not allocate section .dconst, size = 42 bytes, attributes = data
bintasks.o: Link Error: Could not allocate section .data, size = 24 bytes, attributes = data
bincroutine.o: Link Error: Could not allocate section .data, size = 16 bytes, attributes = data
binnic_dma.o: Link Error: Could not allocate section .bss, size = 8 bytes, attributes = bss
binconsole.o: Link Error: Could not allocate section .bss, size = 8 bytes, attributes = bss
binff.o: Link Error: Could not allocate section .bss, size = 6 bytes, attributes = bss
binmmc.o: Link Error: Could not allocate section .bss, size = 6 bytes, attributes = bss
binenc28j60.o: Link Error: Could not allocate section .bss, size = 6 bytes, attributes = bss
binuip_task.o: Link Error: Could not allocate section .data, size = 6 bytes, attributes = data
binmain.o: Link Error: Could not allocate section .pbss, size = 2 bytes, attributes = persist
binport.o: Link Error: Could not allocate section .data, size = 2 bytes, attributes = data
fflush.o: Link Error: Could not allocate section .bss, size = 2 bytes, attributes = bss
buf.o: Link Error: Could not allocate section .bss, size = 2 bytes, attributes = bss
tfiles.o: Link Error: Could not allocate section .bss, size = 2 bytes, attributes = bss
errno.o: Link Error: Could not allocate section .bss, size = 2 bytes, attributes = bss
brk.o: Link Error: Could not allocate section .bss, size = 2 bytes, attributes = bss
 Link Error: Could not allocate data memory
Link step failed.
----------------------------------------------------------------------
Debug build of project `C:UsersmoiDesktopzWSWS FreeRTOS - ericWebPlatform.mcp' failed.
Language tool versions: pic30-as.exe v3.25, pic30-gcc.exe v3.25, pic30-ld.exe v3.25, pic30-ar.exe v3.25
Preprocessor symbol `__DEBUG' is defined.

===================================
Title: Re: FreeRTOS- eric won't build noob question....
Post by: dpropicweb on February 02, 2011, 10:20:12 am
Quote
The MPLAB C30 license manager command-line is invalid.
pic30-coff-cc1.exe: warning: License manager failure, please contact your support
representative or http://support.microchip.com (http://support.microchip.com)

Options have been disabled due to invalid license
Visit http://www.microchip.com/ (http://www.microchip.com/) to purchase a new key.

The demo licence is invalid -- this is usually caused by the licence manager detecting a time shift compared to when it was installed. Check your system date/time.

If that's not the solution, then the Microchip Forums are probably the best place to seek an answer to this one: http://www.microchip.com/forums/ (http://www.microchip.com/forums/)
Title: Re: FreeRTOS- eric won't build noob question....
Post by: voidptr on February 08, 2011, 12:59:44 am
yes  my demo license expired so i got  the lite compiler version .... i reinstalled the lite version compiler and still get the same kind of linker errors ( no more license warning).

it could be that the lite version cant use advance optimizations and there isnt enough space for all the data ...

again im able to compile link program run debug some other stuff without problem ... any clues !
Title: Re: FreeRTOS- eric won't build noob question....
Post by: voidptr on February 11, 2011, 06:25:55 am
that is strange,
i replace the .mpc project file and reset all project parameters to default and now im able to compile and link  !
strange,  in some way in bugged project settings enough that rendered it unable to link corrently !
now it works !
i can event see some silly webpages !

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00952051504session_write_close ( )...(null):0
20.00982183080ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00982183856Database_MySQL->query( ).../DatabaseHandler.php:119
40.05222322576Database_MySQL->error( ).../Db-mysql.class.php:273