It was probably generated by a version of ATS earlier than ATS2-0.1.6.
If you want to use the header files provided by ATS2-0.1.6, please use
patsopt-0.1.6 to re-generate falcon_sats.c.

I have kept FALCON as a test case:

https://github.com/githwxi/ATS-Postiats-contrib/tree/master/projects/MEDIUM/FALCON

So the FALCON package should compile without problems.

On Thursday, June 30, 2016 at 11:24:46 PM UTC-4, Brandon Barker wrote:
>
> It should be a version (likely checked out directly from github) just 
> prior to April 2014.
> On Jun 30, 2016 11:05 PM, "gmhwxi" <..hwxi...> wrote:
>
>> Interesting. Which version of ATS compiler was used to generate 
>> falcon_sats.c?
>>
>> On Thursday, June 30, 2016 at 10:01:59 PM UTC-4, Brandon Barker wrote:
>>>
>>> Hi, 
>>>
>>> When trying to build a package <https://github.com/bbarker/FALCON> 
>>> using more recent versions of ATS includes, I get the following error:
>>>
>>> $ make PATSCC=gcc MYCCRULE=PORTABLE -f ../Makefile
>>> gcc -I"/home/Brandon/ATS2-Postiats-include-0.1.6" -I
>>> "/home/Brandon/ATS2-Postiats-include-0.1.6"/ccomp/runtime -I
>>> "/usr/local/lib/ats2-postiats"/contrib -D_GNU_SOURCE -O2 -c falcon_sats.
>>> c
>>> falcon_sats.c: In function ‘
>>> _057_cygdrive_057_c_057_cygwin_057_home_057_brand_000_057_FBA_057_FALCON_057_GPR_057_falcon_056_sats__dynload
>>> ’:
>>> falcon_sats.c:118:1: warning: implicit declaration of function ‘
>>> ATSdynload1’ [-Wimplicit-function-declaration]
>>>  ATSdynload1(
>>>  ^
>>> falcon_sats.c:119:1: error: ‘
>>> _057_cygdrive_057_c_057_cygwin_057_home_057_brand_000_057_FBA_057_FALCON_057_GPR_057_falcon_056_sats__dynloadflag
>>> ’ undeclared (first use in this function)
>>>
>>>  
>>> _057_cygdrive_057_c_057_cygwin_057_home_057_brand_000_057_FBA_057_FALCON_057_GPR_057_falcon_056_sats__dynloadflag
>>>  ^
>>> falcon_sats.c:119:1: note: each undeclared identifier is reported only 
>>> once for each function it appears in
>>> make: *** [atsmake-post.mk:68: falcon_sats.o] Error 1
>>>
>>>
>>> I verified this happens on Linux as well; if we go back to ATS2 v0.0.7 
>>> it seems to work, for instance. Did something happen with regard to 
>>> ATSdynload1?
>>>
>> -- 
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> 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/d962602c-8704-457f-a29e-708098c72981%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ats-lang-users/d962602c-8704-457f-a29e-708098c72981%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/588375f4-107f-458c-a115-900e382414f3%40googlegroups.com.

Reply via email to