Has anyone come across this:
1. Environment: SuSE 8.1 as is, kernel 2.4.19 and gcc 3.2
2. Build the cannonical "Hello, world!" programme,
gcc -ohello hello.c
Everything fine.
3. cp hello shalom and then shalom
Everything fine.
4. ln -s hello bonjour and then bonjour
Everything fine.
Now for the fun: (What follows is true also for the SuSE supplied Pth 1.4.0)
1. Build, test and install the new GNU Pth 2.0.0 threads library (Mine
goes to /usr, not /usr/local)
2. Open a C project and copy the Pth socket example files, test_httpd.c,
test_common.c and h.
3. gcc -Wall -g -otest test_httpd.c test_common.c -lpth
You get a clean compile/link, but running test does nothing!
But wait for it ...
ddd test (or gdb) and the silly thing works perfectly!
Scratch, scratch.
4. gcc -Wall -g -otest_httpd test_httpd.c test_common.h -lpth
Again, a clean compile/link and this time running it as test_httpd gives
the required results!
Scratch, scratch again.
5. cp test_httpd test and then test. It fails! Uh?
6. ln -s test_httpd test0 and then test0. It fails. Screwy.
Does anyone have any ideas? A Pth thing? A dynamic library hangup?
Cheers,
Daniel
PS STFW didn't produce anything. Could have looked in the wrong places.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
- Re: Problem with Pth or make or what? Daniel Feiglin
- Re: Problem with Pth or make or what? Shaul Karl
- Re: Problem with Pth or make or what? Oron Peled
- Re: Problem with Pth or make or what? Matan Ziv-Av
- Re: Problem with Pth or make or what? Shlomi Fish
- Re: Problem with Pth or make or wha... Nadav Har'El
- Re: Problem with Pth or make or what? Oron Peled
- Re: Problem with Pth or make or wha... Daniel Feiglin
- Re: Problem with Pth or make or what? Nadav Har'El
- Re: Problem with Pth or make or what? Daniel Feiglin
- Re: Problem with Pth or make or wha... Beni Cherniavsky
