Use scheme_intern_symbol() instead of scheme_make_symbol().
At Wed, 11 Jan 2012 18:04:43 +0000, Tim Brown wrote: > Folks, > > I'm having problems building a module extension, called "xxx" > > I use the attached shell script to build the attached .c file, but when > the "racket" program (at the end of the shell script) is run, I get : > > load-extension: expected module `xxx', but found module `xxx' in: > [...]/compiled/native/x86_64-linux/3m/xxx_rkt.so > > Everything is xxx! > What have I missed? > > Help much appreciated. > > Racket 5.2 (downloaded from website today) 3m linux x86_64 > > Thanks, > > Tim > > -- > Tim Brown <tim.br...@cityc.co.uk> | City Computing Limited | > T: +44 20 8770 2110 | City House, Sutton Park Road | > F: +44 20 8770 2130 | Sutton, Surrey, SM1 2AE, GB | > -----------------------------------------------------------------------| > BEAUTY: What's in your eye when you have a bee in your hand | > -----------------------------------------------------------------------' > City Computing Limited registered in London No. 1767817. > Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE > VAT number 372 8290 34. > > ------------------------------------------------------------------------------ > [text/x-sh "make-xxx-extn.sh"] [~/Desktop & open] [~/Temp & open] > > ------------------------------------------------------------------------------ > [text/plain "xxx.c"] [~/Desktop & open] [~/Temp & open] > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users