This is another problem related to moving from 2.4 to 3.4 compiler. The compiler error:
DATS/process_dats.c: In function '_057_home_057_michael_057_share_057_design_057_code_057_uPuckFX3_057_DATS_057_frames_056_dats__validate_in_frame__38__1' : DATS/process_dats.c:4185:145: error: 'packetInCount' undeclared (first use in this function) ATSINSmove(tmp97__1, _057_home_057_michael_057_share_057_design_057_code_057_uPuckFX3_057_DATS_057_numbers_056_dats__n10_ (ATSderef(ATSPMVextval(packetInCount), atstkind_t0ype(atstype_uint16)))) ; Is used in the said file, with these includes: #include "share/atspre_staload.hats" staload CH = "prelude/SATS/char.sats" staload UN = "prelude/SATS/unsafe.sats" staload _ = "prelude/DATS/unsafe.dats" ... staload "SATS/frames.sats" staload "DATS/frames.dats" ... In frames.sats: staload "SATS/state.sats" %{^ extern uint8_t packetInData[1024]; extern const uint8_t *packetIn; extern const uint16_t *packetInCount; In frames.dats: #include "share/atspre_staload.hats" staload UN = "prelude/SATS/unsafe.sats" staload _ = "prelude/DATS/unsafe.dats" %{^ uint8_t packetInData[1024] __attribute__ ((aligned (32))); const uint8_t *packetIn = packetInData; const uint16_t *packetInCount = (uint16_t*)packetInData; Looking in frames_dats.c, the variables are defined, but nothing creates a frames_dats.h file with externs. Looks like I need to do something to create headers that would be included? -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-users+unsubscr...@googlegroups.com. To post to this group, send email to ats-lang-users@googlegroups.com. Visit this group at https://groups.google.com/group/ats-lang-users. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/9d2b9dba-14da-4149-9d3c-a05cf6fc89ba%40googlegroups.com.