On 09/09/13 13:21, Unga wrote:
> 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?
Not the foggiest, and we aren't going to be able to tell you anything
sensible without a lot more detailed debugging information. I mean,
between us we know a lot, but we are by no means omniscient.
How about getting a back trace from the core file your program has produced?
Cheers,
Matthew
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"