Date: Mon, 9 Sep 2013 05:21:45 -0700 (PDT) From: Unga <unga888@yahoo.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: When statically linked Abort trap: 6 (core dumped) Message-ID: <1378729305.77647.YahooMailNeo@web161906.mail.bf1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi all This is FreeBSD 9.1 on i386. My program works well without any issue when all libraries are dynamically linked. But when some libraries are statically link and run it develops: Abort trap: 6 (core dumped) How I compile and link: cc myprog.c -Wall -O \ -L. -ls1 -ls2 \ -lz -lm -lmd -lpthread \ -o myprog libs1.a and libs2.a are static libs. Any idea why? Many thanks in advance. Regards Unga
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1378729305.77647.YahooMailNeo>