Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. Build Errors

build errors

By abk964 , 20 February, 2025
Forums
Gurux DLMS for ANSI C

Hi!

1. gxserializer.c cant be build if GX_DLMS_SERIALIZER defined:
src/gxserializer.c: In function ‘ser_set2’:
src/gxserializer.c:364:69: error: ‘capacity’ undeclared (first use in this function); did you mean ‘oa_capacity’?
if ((ret = SERIALIZER_LOAD(serializeSettings->position, capacity, arr->data + arr->size)) == 0)
^~~~~~~~
oa_capacity
src/gxserializer.c:364:69: note: each undeclared identifier is reported only once for each function it appears in

2. apdu.c cant be build if DLMS_IGNORE_SERVER defined:
src/apdu.c: In function ‘apdu_parsePDU’:
src/apdu.c:1742:17: error: ‘afu’ undeclared (first use in this function)
afu |= DLMS_AFU_MISSING_CALLING_AUTHENTICATION_VALUE;
^~~
src/apdu.c:1742:17: note: each undeclared identifier is reported only once for each function it appears in
src/apdu.c:1742:24: error: ‘DLMS_AFU_MISSING_CALLING_AUTHENTICATION_VALUE’ undeclared (first use in this function); did you mean ‘PDU_TYPE_CALLING_AUTHENTICATION_VALUE’?
afu |= DLMS_AFU_MISSING_CALLING_AUTHENTICATION_VALUE;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PDU_TYPE_CALLING_AUTHENTICATION_VALUE
m

Profile picture for user Kurumi

Kurumi

1 year 8 months ago

Hi, Thank you for pointing…

Hi,

Thank you for pointing those issues out.

DLMS_IGNORE_SERVER is fixed. Get the latest version.

GX_DLMS_SERIALIZER issue is also fixed, but it needs more time for testing.

BR,
Mikko

abk964

1 year 8 months ago

Confirm DLMS_IGNORE_SERVER…

Confirm DLMS_IGNORE_SERVER. apdu.c compiled.

Waiting for serializer.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin