link static libs under linux

Submitted by Yu on 11 October, 2008 - 04:39
Forums:
Hi,
I'd like to link all the .a of occ to my executable file. However, the ld return an error. but i didn't see any error in the output message, even an undefined reference. can anybody tell me how to link static libs to generate a executable file?