I've tried to install qmail 1.03 on CentOS 4.4 using the command: # make setup check and I received this error: ./load auto-str substdio.a error.a str.a substdio.a(substdo.o)(.text+0x43): In function `allwrite': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [auto-str] Error 1 Can anyone please help? TIA Dick Holland
> > I've tried to install qmail 1.03 on CentOS 4.4 using the command: > > # make setup check > > and I received this error: > > ./load auto-str substdio.a error.a str.a > substdio.a(substdo.o)(.text+0x43): In function `allwrite': > : undefined reference to `errno' > collect2: ld returned 1 exit status > make: *** [auto-str] Error 1 > > Can anyone please help? > > TIA > Dick Holland >http://www.google.com http://qmail.jms1.net http://www.qmailrocks.org and there is lifewithqmail.org and several others basically what I am saying, is that you should have a well thought out full install before you start of your just in for headaches if you don't install qmail properly and it is an internet facing unit, some unpleasant issues will eventually arise. :-) - rh -- Robert - Abba Communications Computer & Internet Services (509) 624-7159 - www.abbacomm.net
R Lists06 wrote:>> I've tried to install qmail 1.03 on CentOS 4.4 using the command: >> >> # make setup check >> >> and I received this error: >> >> ./load auto-str substdio.a error.a str.a >> substdio.a(substdo.o)(.text+0x43): In function `allwrite': >>> undefined reference to `errno' >> collect2: ld returned 1 exit status >> make: *** [auto-str] Error 1 >> >> Can anyone please help? >> >> TIA >> Dick Holland >> > > http://www.google.com > > http://qmail.jms1.net > > http://www.qmailrocks.org > > and there is lifewithqmail.org and several others > > basically what I am saying, is that you should have a well thought > out full install before you start of your just in for headaches > > if you don't install qmail properly and it is an internet facing > unit, some unpleasant issues will eventually arise. > > :-) > > - rhIIRC correctly, this is the (in)famous errno problem. It requires a patch to put qmail at 1.03. Life with qmail has all the instruction you need to patch and install qmail. There's a script to do it all for you. Qmail is really straight forward provided you follow the install directions to the letter. Once you do, you'll have the best SMTP server running. Thanks! Mark Schoonover *** Winner of the 2008 Best Psychic Award IS Manager American Geotechnical - California, Nevada and Arizona V-> 858.450.4040 F-> 714.685.3909 C-> 858.472.3816
CentOS mailing list wrote:> I've tried to install qmail 1.03 on CentOS 4.4 using the command: > > # make setup check > > and I received this error: > > ./load auto-str substdio.a error.a str.a > substdio.a(substdo.o)(.text+0x43): In function `allwrite': > : undefined reference to `errno' > collect2: ld returned 1 exit status > make: *** [auto-str] Error 1 > > Can anyone please help?Change the compile command in the conf-cc file contents to something like: gcc -O2 -include /usr/include/errno.h
Hi list, Thanks for all the advice - and the jokes were good too! Dick
Jim Perrin wrote:>> IIRC correctly, this is the (in)famous errno problem. It requires a >> patch to put qmail at 1.03. Life with qmail has all the instruction >> you need to patch and install qmail. There's a script to do it all >> for you. Qmail is really straight forward provided you follow the >> install directions to the letter. Once you do, you'll have the best >> SMTP server running. > > *COUGH* > <flame war> > So... the patch upgrades qmail to postfix? > > /runsI am honored you commented on my post! :) Thanks! Mark Schoonover *** Winner of the 2008 Best Psychic Award IS Manager American Geotechnical - California, Nevada and Arizona V-> 858.450.4040 F-> 714.685.3909 C-> 858.472.3816
Sure can. You need to install the qmail 'errno' patch, or manually edit the files that break one by one to include a line that states: #include <errno.h> Due to changes in the system header files for error handling. This is a really ancient issue. If you're building qmail from scratch, I highly recommend you look at http://lifewithqmail.org. I personally have a src rpm for qmail that I use for my qmail installations that includes 12 of my favorite patches. I'd also highly recommend building qmail-queuefix-1.4, which you'll find the same problem, which can be fixed by doing the same thing or patching. Peter CentOS mailing list wrote:> I've tried to install qmail 1.03 on CentOS 4.4 using the command: > > # make setup check > > and I received this error: > > ./load auto-str substdio.a error.a str.a > substdio.a(substdo.o)(.text+0x43): In function `allwrite': > : undefined reference to `errno' > collect2: ld returned 1 exit status > make: *** [auto-str] Error 1 > > Can anyone please help? > > TIA > Dick Holland > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Peter Serwe <peter at infostreet dot com> http://www.infostreet.com "The only true sports are bullfighting, mountain climbing and auto racing." -Earnest Hemingway "Because everything else requires only one ball." -Unknown "Do you wanna go fast or suck?" -Mike Kojima "There are two things no man will admit he cannot do well: drive and make love." -Sir Stirling Moss