autobook: Simple [] Module Loader
Jerome BENOIT
JGMBenoit@Wanadoo.fr
Sat Feb 24 17:01:00 GMT 2001
Bonjour:
I have just tried to buid under the latest Cygwin
the `simple Module Loader' sugested in chapter 17 of `autobook'
and it doesn't work:
has anyone get a working version for Cygwin ?
Note that to build the module I did:
ld -shared simple-module.o -o simple-module.so -lcygwin
to avoid error messsages
whereas the suggested command line is:
gcc -shared -o simple-module.so
If I remove the `-lcygwin' I get the amazing message:
Cannot export printf: symbol not defined
simple-module.o(.text+0x1f):simple-module.c: undefined reference to
`printf'
Thanks in advance,
Jerome BENOIT
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list