I have the same version of gcc as you do. It's downloaded from Sunfreeware meaning that it's probablly linked with suns ld.
I am building courier-authlib from source to include mysql support with gcc and gnu ld. I configured using the command: # ./configure CPPFLAGS=-I/usr/local/BerkeleyDB/include \ LDFLAGS=-L/usr/local/BerkeleyDB/lib --with-waitfunc=wait3 \ --enable-mimetypes --with-authmysql --with-mysql-libs=/opt/mysql/mysql/lib \ --with-mysql-includes=/opt/mysql/mysql/include I have to explicit point the mysql path for config, to get config to find mysql since this is a binary packet install for Solaris 8 downloaded from mysql. The compiler works fine up to the point where compiling authdaemonlib.c takes place. Here I get the error message "language arch=v8" from gcc. Linking is not done because there is no object files to link. /GH -----Ursprungligt meddelande----- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Bill Taroli Skickat: den 7 april 2006 09:45 Till: [email protected] Ämne: Re: SV: [courier-users] Compiling version three Göran Höglund wrote: > As the output snippet from my make command below shows I am trying to > compile authlib with mysql support. > I have short circuted the solaris linker by renaming it becuse I had > problems with this earlier. > Right now I suspect gcc not the linker though. > I have tried to find more info about "gcc: language arch=v8 not recognized" > but with no success. > My worst fear is that I also may have to complie mysql with the same > tools > (GNU) that I use for courier-authlib. > > /GH What gcc version are you using? Mine is 3.4.2 and was linked originally with /usr/ccs/bin/ld. I have built from source again using the commands I mentioned (to force gnu ld) and added support for mysql (v4.0.20 in my case) without any problems. Come to think of it... I seem to remember getting a weird build error like that when I was still working on getting it to use the gnu ld... I had configured using it but parts of the make were still referring to Sun's. But using Sun's ld when the make expected gnu caused errors like this. Bill ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
