Re: [Bacnet-developers] Gateway build errors
Brought to you by:
skarg
|
From: Throstur J. <tj...@ra...> - 2016-02-03 15:49:12
|
Hi Steve,
I ran into the same problem as Jajeswari, but after taking just over the
make-file from the SVN repository you recommended, everything compiled
just fine.
Question 1:
What is this this SVN repository? Does it contain the last valid build
of ver. 0.8.2?
Question 2:
The gateway example compiles and seem to work independent if I put in
the "#define BAC_ROUTING 1" into config.h or not.
Should it be defined or not?
I ask as I see that this define is for example used in apdu.h such:
#if BAC_ROUTING
/* Check to see if the current Device supports this
service. */
int len =
Routed_Device_Service_Approval(service_supported, 0,
NULL, 0);
if (len > 0)
break; /* Not supported - return false */
#endif
So it should matter or this is redundant code?
Best regards
TJ
On 14.4.2015 15:45, Steve Karg wrote:
> Hello Rajeswari,
>
> I just built the gateway from the SVN repository:
> http://svn.code.sf.net/p/bacnet/code/branches//releases/bacnet-stack-0-8-0
>
> And I get a few compile warnings, but it builds. Checking SVN, the
> gateway build was fixed at revision 2742. Perhaps it is time for
> another release. :-)
>
> Best Regards,
>
> Steve
>
> http://steve.kargs.net/
>
>
> On Fri, Mar 27, 2015 at 8:09 AM, Rajeswari C <she...@gm...> wrote:
>> Hi,
>>
>> I have downloaded Bacnet stack 0.8.2.
>> I get errors when I build for gateway.
>>
>> 'make gateway' gives the following errors:
>>
>> main.o: In function `main':
>> main.c:(.text.startup+0xa3): undefined reference to `Device_Init'
>> main.c:(.text.startup+0xaa): undefined reference to `Routing_Device_Init'
>> main.c:(.text.startup+0x23d): undefined reference to
>> `Load_Control_State_Machine_Handler'
>> ../../demo/object/gw_device.o: In function
>> `Routed_Device_Read_Property_Local':
>> gw_device.c:(.text+0x28a): undefined reference to
>> `Device_Read_Property_Local'
>> ../../demo/object/gw_device.o: In function
>> `Routed_Device_Write_Property_Local':
>> gw_device.c:(.text+0x53e): undefined reference to
>> `Device_Write_Property_Local'
>> ../../lib/libbacnet.a(h_whois.o): In function `handler_who_is':
>> h_whois.c:(.text+0x2f): undefined reference to
>> `Device_Object_Instance_Number'.....
>>
>> How do I build for bacnet demo\gateway?
>> Should I anywhere enable #define BAC_ROUTING ?
>>
>>
>> Regards,
>> Rajeswari
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for
>> all
>> things parallel software development, from weekly thought leadership blogs
>> to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> BACnet-developers mailing list
>> BAC...@li...
>> https://lists.sourceforge.net/lists/listinfo/bacnet-developers
>>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> BACnet-developers mailing list
> BAC...@li...
> https://lists.sourceforge.net/lists/listinfo/bacnet-developers
>
|