Thanks for the quick reply. I can build epics-base with it and also
the famous 'myExample" example with MakeBaseApp.pl -t example myExample.
I use an additional small support lib:
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
# Use typed rset structure (see 3.16.1 release notes)
USR_CPPFLAGS += -DUSE_TYPED_RSET
LIBRARY_IOC = rfcalc
DBD += rfcalc.dbd
rfcalc_SRCS += rfcalc.c
rfcalc_SRCS += rftime.c
rfcalc_LIBS += Com
#===========================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
And that looks like this in it, for example:
static
long init_record(waveformRecord* prec)
{
switch (prec->inp.type) {
case CONSTANT:
case PV_LINK:
case DB_LINK:
case CA_LINK:
break;
default:
recGblRecordError(S_db_badField, (void *)prec,
"devWfTimebase (init_record) Illegal INP field");
return S_db_badField;
}
if(prec->ftvl == menuFtypeSTRING || prec->ftvl==menuFtypeENUM){
recGblRecordError(S_db_badField, (void *)prec,
"devWfTimebase (init_record) Illegal FTVL field");
return S_db_badField;
}
prec->dpvt=(void*)1; // indicate completion
return 0;
}
Under RTEMS (T_A=RTEMS-beatnik) it can be built without problems.
Heinz
On 23. Aug 2023, at 12:41, Han Lee <jeonglee at lbl.gov> wrote:
Hi Heinz,
Do you have your own CONFIG file?
I have only M1 and it uses aarch64. The current BASE supports without any local CONFIG files.
Best,
Han
Guten Tag,
I am facing the following problem and unfortunately I cannot resolve it:
Undefined symbols for architecture arm64:
"_recGblInitConstantLink", referenced from:
_make_timebase in rftime.o
"_recGblRecordError", referenced from:
_init_record in rftime.o
"_recGblSetSevr", referenced from:
_gen_waveform in rfcalc.o
_wf_stats in rfcalc.o
_unwrap in rfcalc.o
_make_timebase in rftime.o
"_registryFunctionRefAdd", referenced from:
_calcRegister in rfcalc.o
ld: symbol(s) not found for architecture arm64
Danke,
Heinz
-- Jeong Han Lee, Dr.rer.nat