On Sun, 15 Jun 2008 01:00:49 +0100
Samuel Thibault <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Anatoly A. Kazantsev, le Sat 14 Jun 2008 20:45:12 +0700, a écrit :
> > But if I compile it with command:
> > $gcc -o pytest pytest.c -lpython2.5 -lfshelp
> >
> > and when I run it, I get error:
> > pytest:
Hello,
Anatoly A. Kazantsev, le Sat 14 Jun 2008 20:45:12 +0700, a écrit :
> But if I compile it with command:
> $gcc -o pytest pytest.c -lpython2.5 -lfshelp
>
> and when I run it, I get error:
> pytest:
> /build/mbanck/hurd-20080607/build-tree/hurd/libpthread/pthread/pt-self.c:28:
> pthread_sel
Hello.
I wrote simple program.
pytest.c:
#include
int main (void) {
Py_Initialize();
return 0;
}
Compile it with command:
$gcc -o pytest pytest.c -lpython2.5
And then it runs OK.
But if I compile it with command:
$gcc -o pytest pytest.c -lpython2.5 -lfshelp
and when I run it, I get