Compiling 1.4b2 on Solaris 10 u6

Kurt B Cox kurtbcox at gmail.com
Fri Feb 20 21:12:07 PST 2009


gcc 3.4.x or sunstudio seems to be failing on the syntax in serial.c

gcc 4.3.x on linux doesn't have a problem with it.

What compiler and build environment would be best on Solaris 10?

Using ARCHFLAGS=-xarch=generic
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5  -I/usr/include/kerberosv5   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
Using CC=/opt/SUNWspro/bin/cc
Using CXX=/opt/SUNWspro/bin/cc
Using DSOFLAGS=-L../cups -R/opt/cups-1.4b2/lib  -Wl,-hall -G -w -KPIC -xO2
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -R/opt/cups-1.4b2/lib   -w -KPIC -xO2
Using LIBS=-lcups  -lpthread -lresolv -lnsl -lsocket -lm
Making all in cups...
Making all in filter...
Linking gziptoany...
Making all in backend...
Compiling serial.c...
"serial.c", line 947: syntax error before or at: )
"serial.c", line 1262: cannot recover from previous errors
cc: acomp failed for serial.c
gmake[1]: *** [serial.o] Error 2
gmake: *** [all] Error 1





More information about the cups mailing list