[Chicken-users] Duplicate symbol errors with functors and -static flag

2018-11-20 Thread Antoine Luciani
Hello, I came across weird duplicate symbol errors while using functors and the -static flag in CHICKEN 5. You can find the full repro here in case my explanation is not clear: https://github.com/antoine1fr/chicken-functor-static-error. Given: * a unit 'a', * a unit 'make-b' that defines a

Re: [Chicken-users] Duplicate symbol errors with functors and -static flag

2018-11-20 Thread Antoine Luciani
On Nov 20, 2018, at 6:59 PM, Evan Hanson wrote: > > Hi Antoine, > > The issue here is the "./" prefix on $(SCHEME_OBJECTS). Your project > works fine with just the following change: > >3c3 >< SOURCE_PREFIX = ./ >--- > SOURCE_PREFIX = > > CHICKEN uses a naive string comparison to