Tag: yahoo

libyahoo分段错误

我写了这段代码: #include #include int main() { int id ; char username[255] = “slam”; char password[255] = “ss” ; id = yahoo_init(username, password); enum yahoo_status mYahoo ; mYahoo = YAHOO_STATUS_AVAILABLE ; yahoo_login(id , mYahoo ); return 0; } 编译它, gcc -l yahoo2 yc -o yahoo并用./yahoo运行它给我一个错误: Segmentation fault (gdb) run Program received signal SIGSEGV, Segmentation fault. 0x001379b1 […]