checking for the getaddrinfo() function...no * * --enable-network was requested, but this system * does not seem to support getaddrinfo(). * when i compile conftest.c using gcc (4.4.5/4.6.0) it segfaults. on debian i get the following output:
*** glibc detected *** ./a.out: free(): invalid pointer: 0xb768bac0 *** ======= Backtrace: ========= /lib/libc.so.6(+0x6a81a)[0xb764f81a] /lib/libc.so.6(+0x6c078)[0xb7651078] /lib/libc.so.6(cfree+0x6d)[0xb765417d] /lib/libc.so.6(freeaddrinfo+0x30)[0xb7688bd0] ../a.out[0x80484bc] /lib/libc.so.6(__libc_start_main+0xe6)[0xb75fbe16] ../a.out[0x80483c1] ======= Memory map: ======== 08048000-08049000 r-xp 00000000 08:06 163076 /home/choli/a.out 08049000-0804a000 rw-p 00000000 08:06 163076 /home/choli/a.out 081a8000-081c9000 rw-p 00000000 00:00 0 [heap] b75c7000-b75e3000 r-xp 00000000 08:01 91988 /lib/libgcc_s.so.1 b75e3000-b75e4000 rw-p 0001b000 08:01 91988 /lib/libgcc_s.so.1 b75e4000-b75e5000 rw-p 00000000 00:00 0 b75e5000-b7723000 r-xp 00000000 08:01 92031 /lib/libc-2.13.so b7723000-b7724000 ---p 0013e000 08:01 92031 /lib/libc-2.13.so b7724000-b7726000 r--p 0013e000 08:01 92031 /lib/libc-2.13.so b7726000-b7727000 rw-p 00140000 08:01 92031 /lib/libc-2.13.so b7727000-b772a000 rw-p 00000000 00:00 0 b7733000-b7734000 rw-p 00000000 00:00 0 b7734000-b7735000 r-xp 00000000 00:00 0 [vdso] b7735000-b7750000 r-xp 00000000 08:01 92033 /lib/ld-2.13.so b7750000-b7751000 r--p 0001b000 08:01 92033 /lib/ld-2.13.so b7751000-b7752000 rw-p 0001c000 08:01 92033 /lib/ld-2.13.so bface000-bfae3000 rw-p 00000000 00:00 0 [stack] Aborted any idea? cheers, jose _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
