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. 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 3 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 3 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, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin