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 5 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 5 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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin