Try to build net supported LM3S8962K

classic Classic list List threaded Threaded
3 messages Options
Tze-Chien Chu Tze-Chien Chu
Reply | Threaded
Open this post in threaded view
|

Try to build net supported LM3S8962K

Dear sir
I try to build a net support version of  LM3S8962K binary file and get the following error
I change the LM3S's platform_conf.h componets define to following setting
//#define BUILD_XMODEM
#define BUILD_SHELL
#define BUILD_ROMFS
#define BUILD_MMCFS
//#define BUILD_TERM
#define BUILD_UIP
#define BUILD_DHCPC  
#define BUILD_DNS
//#define BUILD_CON_GENERIC
#define BUILD_ADC
#define BUILD_RPC
#define BUILD_CON_TCP

then I rebuild the binary
But the compiler get error about undefined reference to 'term_getch' 'term_get_cy' .....

any idea ?

BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Try to build net supported LM3S8962K

Hi,

Thanks for the report, I'll look into it .

Best,
Bogdan

On Mon, Apr 19, 2010 at 10:53 AM, Tze-Chien Chu <[hidden email]> wrote:

Dear sir
I try to build a net support version of  LM3S8962K binary file and get the
following error
I change the LM3S's platform_conf.h componets define to following setting
//#define BUILD_XMODEM
#define BUILD_SHELL
#define BUILD_ROMFS
#define BUILD_MMCFS
//#define BUILD_TERM
#define BUILD_UIP
#define BUILD_DHCPC
#define BUILD_DNS
//#define BUILD_CON_GENERIC
#define BUILD_ADC
#define BUILD_RPC
#define BUILD_CON_TCP

then I rebuild the binary
But the compiler get error about undefined reference to 'term_getch'
'term_get_cy' .....

any idea ?


--
View this message in context: http://n2.nabble.com/Try-to-build-net-supported-LM3S8962K-tp4923979p4923979.html
Sent from the eLua Development mailing list archive at Nabble.com.
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
jbsnyder jbsnyder
Reply | Threaded
Open this post in threaded view
|

Re: Try to build net supported LM3S8962K

I think something like this will do it.  I'm not going to commit this
though until some macros are made to cut down on all the ifdefs that
are cropping up above LUA_PLATFORM_LIBS_ROM definition for the various
lines though.

The problem is that the term module requires some of the functions in
the common term library.  The patch wraps the functions in
modules/term.c in an ifdef checking for BUILD_TERM.  Also, the term
entry for LUA_PLATFORM_LIBS_ROM is made optional, also dependent on
BUILD_TERM.

On Mon, Apr 19, 2010 at 2:59 AM, Bogdan Marinescu
<[hidden email]> wrote:

> Hi,
>
> Thanks for the report, I'll look into it .
>
> Best,
> Bogdan
>
> On Mon, Apr 19, 2010 at 10:53 AM, Tze-Chien Chu <[hidden email]>
> wrote:
>>
>> Dear sir
>> I try to build a net support version of  LM3S8962K binary file and get the
>> following error
>> I change the LM3S's platform_conf.h componets define to following setting
>> //#define BUILD_XMODEM
>> #define BUILD_SHELL
>> #define BUILD_ROMFS
>> #define BUILD_MMCFS
>> //#define BUILD_TERM
>> #define BUILD_UIP
>> #define BUILD_DHCPC
>> #define BUILD_DNS
>> //#define BUILD_CON_GENERIC
>> #define BUILD_ADC
>> #define BUILD_RPC
>> #define BUILD_CON_TCP
>>
>> then I rebuild the binary
>> But the compiler get error about undefined reference to 'term_getch'
>> 'term_get_cy' .....
>>
>> any idea ?
>>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Try-to-build-net-supported-LM3S8962K-tp4923979p4923979.html
>> Sent from the eLua Development mailing list archive at Nabble.com.
>> _______________________________________________
>> eLua-dev mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>


--
James Snyder
Biomedical Engineering
Northwestern University
[hidden email]
PGP: http://fanplastic.org/key.txt
Phone: (847) 448-0386

_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev

0001-Simple-temporary-fix-for-term-issue-reported-by-TC-C.patch (3K) Download Attachment