Hi Fred, Thanks for your information. First of all, I will read the APUE book. If I can not figure out the problem. I will post another simple program.
Shi-Ping On Fri, 30 May 2003, fred smith wrote: > On Fri, May 30, 2003 at 09:19:56AM -0400, Chen Shi-Ping wrote: > > > > Hi Fred, > > > > Thanks for your email. > :^) > > See below > > On Fri, 30 May 2003, fred smith wrote: > > > > > On Thu, May 29, 2003 at 11:10:56PM -0400, Chen Shi-Ping wrote: > > > > Hi, > > > > > > > > I am running RH8. Recently, I downloaded the source code of examples from > > > > the book (UNIX Network Programming, Volume 2, Second Edition, Interprocess > > > > Communications) by W. Richard Stevens. I followed README's procedures to > > > > > > Mr. stevens is now, sad to say, deceased. However, his web site still > > > runs (last I noticed) so you may be able to find Linux-compatible > > > versions of his programs on that site (I haven't looked there for stuff > > > from the book you have, but I know for his APUE there are updated versions > > > of the code.). > > > > I did download the source code from his (new) site, and > > that is what I have compiling error. I can't find anything > > about updated versions of the code (or for Linux). > > > > Do you know exactly where I can locate it? > > no, sorry, I don't. I was merely referring you to the web site on the > assumption that there may be linux-ized code there. The APU code has > been linuxized and that code is to be found there. > > I've not tried that code, and I'm still on RH72, so I probably can't > give details. However, if you post (to, e.g., RH mailing list) some > terse examples (5-10 lines) of code that gives errors, perhaps someone > can offer some useful advice. > > > Also, what do you mean by 'his APUE'? > > "APUE" is his book "Advanced Programming in the Unix Environment", an > EXCELLENT book, though now getting kinda out of date. Nevertheless, it > gives excellent discussions of many/all aspects of Unix programming, so > that even if some of the programming examples are growing out of date > as Unix changes, it is still a great book. > > > > > Thanks! > > > > Shi-Ping > > > > > > > > > > configure and build the basic library as follows: > > > > > > > > $./configure > > > > $cd lib > > > > $make > > > > > > > > There seems no problem when I invoked ./configure and make commands. > > > > However, I got syntax error when I tried the following: > > > > > > > > $cd ../pipe > > > > $make pipeconf > > > > > > > > Some function calls have failed. If you know how to get these examples > > > > working (under RH8), please let me know. Thank you very much. > > > > > > > > Shi-Ping > > > > > > > > > > > > -- > > > > redhat-list mailing list > > > > unsubscribe mailto:[EMAIL PROTECTED] > > > > https://www.redhat.com/mailman/listinfo/redhat-list > > > > > > -- > > > ---- Fred Smith -- [EMAIL PROTECTED] ----------------------------- > > > "And he will be called Wonderful Counselor, Mighty God, Everlasting Father, > > > Prince of Peace. Of the increase of his government there will be no end. He > > > will reign on David's throne and over his kingdom, establishing and upholding > > > it with justice and righteousness from that time on and forever." > > > ------------------------------- Isaiah 9:7 (niv) ------------------------------ > > > > > > > > > -- > > > redhat-list mailing list > > > unsubscribe mailto:[EMAIL PROTECTED] > > > https://www.redhat.com/mailman/listinfo/redhat-list > > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED] > > https://www.redhat.com/mailman/listinfo/redhat-list > > -- > ---- Fred Smith -- [EMAIL PROTECTED] ----------------------------- > But God demonstrates his own love for us in this: > While we were still sinners, > Christ died for us. > ------------------------------- Romans 5:8 (niv) ------------------------------ > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list