Using information from the following links, I removed all references CFSwapInt32HostToBig and its dependencies and substituted CFSwapInt32HostToBig with bswap_32.
http://dmunsie.wordpress.com/code/hacks/
The program compiled (albeit with warning messages).
To run the program, simply use sudo ./a.out /dev/sdXX
where /dev/sdXX is the partition you need to mount.
Then you should be able to mount using the following
sudo mount -t hfsplus -o rw,user /dev/sdXX /media/hfspart
For your convenience, you may find my modified code at the following url:
http://pastebin.com/7rvxR38d


![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=d101cd63-5e42-4a3c-a1e0-293a86dc3d35)