Hi
I’ve just run into two compile errors while trying to install Epics 7.0.9 on Ubuntu 25
../log/iocLogServer.c: In function ‘acceptNewClient’:
../log/iocLogServer.c:483:14: error: expected identifier or ‘(’ before ‘true’
483 | long true;
| ^~~~
../log/iocLogServer.c:484:14: error: lvalue required as left operand of assignment
484 | true = 1;
| ^
../log/iocLogServer.c:490:25: error: lvalue required as unary ‘&’ operand
490 | (char *)&true,
| ^
This one was relatively straight forward, in iocLogServer.c I just renames true within the acceptNewClient function to tr, this fixed this issue – I assume the
compiler was seeing true as True.
I have not been able to fix the next one and could do with some assistance
../dbStatic/dbStaticLib.c: In function ‘dbDumpDevice’:
../dbStatic/dbStaticLib.c:3459:36: error: initialization of ‘long int (**)(void)’ from incompatible pointer type ‘long int (**)(int)’ [-Wincompatible-pointer-types]
3459 | DEVSUPFUN *pfunc = &pdevSup->pdset->report;
Best Regards,
Graeme Elliner
Senior Control & Electrical Engineer
XDS Oxford Limited
Tel: 01865 320311 Direct Dial
Tel: 01865 320300 Switchboard

(formerly trading as FMB Oxford)
Visit us at:
www.xds-oxford.com
www.linkedin.com/company/xds-oxford
www.facebook.com/XDSOxford
www.x.com/XDS_Oxford
P
Before you print think about the
ENVIRONMENT
XDS Oxford Limited is registered in England and
Wales, Company number 04138193.
Registered office address: Unit 1 Ferry Mills, Osney Mead, Oxford, Oxfordshire, United Kingdom, OX2 0ES.
This e-mail message may contain confidential information and is intended for the addressee
only. If you are not the intended recipient, please notify the sender by return e-mail and delete this message immediately.
Reproduction, dissemination
or distribution of this message is prohibited unless authorised by the sender. The views expressed by the sender are not necessarily those of XDS Oxford Limited.
This e-mail has passed through
Microsoft's Exchange Online Protection services. XDS Oxford Limited accepts no responsibility for any viruses not revealed.