site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com hi, Don't know if this is the right list to post this query, but saw some threads already on overriding system calls, so thought will try my luck here. :) Actually I've a dynamic library which over-rides system calls, namely connect,recv,send,sendto,accept... and when I preload this on Tiger, using DYLD_INSERT_LIBRARIES AND DYLD_FORCE_FLAT_NAMESPACE, everything works fine. But when I do the same on panther, it crashes. I wrote a sample c test program, just over-riding connect call and compiled it as test_connect.dylib on panther, with gcc 3.3. When I pre-loaded this library in terminal and ran FTP got the following error- dyld: FTP multiple definitions of symbol _connect test_connect.dylib(ccyRQhrn.o) definition of _connect /usr/lib/libSystem.B.dylib(connect.So) definition of _connect Trace/BPT trap But the same dylib works perfectly on tiger. So I wanted to know, if I've missed out on any steps that needed to be done in addition on panther? i.e. is over-riding system calls possible on panther? If so any pointers in that direction will be appreciated very much. plus, am interested in knowing what are da major differences between panther and tiger regarding dynamic handling? can someone give me good links regarding this? :) thanking in advance, Puthali _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com