Patrik Gustavsson PS Sweden Senior Technical Consultant
2003-Sep-01 08:26 UTC
[Samba] Getting compiler erros on Samba3.0.rc2 on Solaris 9
Hi, A new kind error has appeared in rc2. I am getting compiler errors on CP850.c when compiling with Sun ONE Studio 8 on Solaris 9. Using FLAGS = -g -I/usr/local/include -I./popt -Iinclude -I/UTILCD/opt2/Cprg/Pr ogram/samba-3.0.0rc2/source/include -I/UTILCD/opt2/Cprg/Program/samba-3.0.0rc2/s ource/ubiqx -I/UTILCD/opt2/Cprg/Program/samba-3.0.0rc2/source/smbwrapper -I. -I /usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/incl ude -I/UTILCD/opt2/Cprg/Program/samba-3.0.0rc2/source LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl LDSHFLAGS = -G -g -I/usr/local/include -L /usr/local/lib LDFLAGS = -L /usr/local/lib Compiling modules/CP850.c with -KPIC "modules/CP850.c", line 27: syntax error before or at: [ -- "In a world without fences who needs Gates" Patrik Gustavsson, Senior Technical Consultant patrik.gustavsson@sun.com Telephone: +46 60 671540 http://glen.sweden Mobile: +46 70 3551040 SUN MICROSYSTEMS Fax: +46 60 671550 --------------------------------------------------------------
Gerald (Jerry) Carter
2003-Sep-02 15:06 UTC
[Samba] Getting compiler erros on Samba3.0.rc2 on Solaris 9
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 1 Sep 2003, Patrik Gustavsson PS Sweden Senior Technical Consultant wrote:> Hi, > > A new kind error has appeared in rc2. > > I am getting compiler errors on CP850.c when compiling with Sun ONE Studio 8 > on Solaris 9. > > Using FLAGS = -g -I/usr/local/include -I./popt -Iinclude > -I/UTILCD/opt2/Cprg/Pr > ogram/samba-3.0.0rc2/source/include > -I/UTILCD/opt2/Cprg/Program/samba-3.0.0rc2/s > ource/ubiqx > -I/UTILCD/opt2/Cprg/Program/samba-3.0.0rc2/source/smbwrapper -I. -I > /usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -I/usr/local/incl > ude -I/UTILCD/opt2/Cprg/Program/samba-3.0.0rc2/source > LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl > LDSHFLAGS = -G -g -I/usr/local/include -L /usr/local/lib > LDFLAGS = -L /usr/local/lib > Compiling modules/CP850.c with -KPIC > "modules/CP850.c", line 27: syntax error before or at: [Fixed in latest SAMBA_3_0 cvs (by Alexander Bokovoy; patch was also submitted by a Sun engineer (Joerg.Thomas.Vogt) Either use the CVS version or use gcc for 3.0.0rc2. That should work. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE/VLHuIR7qMdg1EfYRAouXAKDsyiHmPpr/FFQt5EYPS7io5Ab8kwCdFhdr AFtvoaLmLUPc6nWsXPBiE2c=+iM0 -----END PGP SIGNATURE-----