Hi everybody,
I'm messing around with OAUTH at the moment - just to see if I can talk to Twitter's servers. However, as soon as I use an OAUTH function, I get a load of unresolved externals. The missing functions seem to be related to OpenSSL but even when I link with -lamisslauto, nothing changes.
How do I use liboauth, can anybody help?
Thanks if anyone can!
This is the first bit of the output (my program is called "Ribbet" :) )
5.Work:coding/Ribbet> gcc main.c -lamisslauto -loauth
/SDK/local/newlib/lib/liboauth.a(liboauth_la-oauth.o): In function `oauth_gen_nonce':
/RAM Disk/liboauth-0.9.1/src/oauth.c:551: undefined reference to `RAND_bytes'
/RAM Disk/liboauth-0.9.1/src/oauth.c:555: undefined reference to `RAND_bytes'
/RAM Disk/liboauth-0.9.1/src/oauth.c:555: undefined reference to `RAND_bytes'
/SDK/local/newlib/lib/liboauth.a(liboauth_la-hash.o): In function `oauth_body_hash_data':
/RAM Disk/liboauth-0.9.1/src/hash.c:422: undefined reference to `EVP_sha1'
/RAM Disk/liboauth-0.9.1/src/hash.c:423: undefined reference to `EVP_MD_CTX_init'