Dear Admins and Developers, thanks a lot for the overwhelming feedback. I got about 50 replies telling me to go to www.sunfreeware.com and download gcc. We do did so and also make. We also set the PATH variable as follows: # echo $PATH /usr/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin gcc is now available. We also created the following link # pwd /usr/bin # ls -l cc* lrwxrwxrwx 1 root other 18 Mar 16 00:55 cc -> /usr/local/bin/gcc since the configure scripts complained about not finding cc. However, we were nervertheless not able to get anything compiled yet. flex: ================================================== # pwd /opt/source/flex/flex-2.5.4 # ./configure loading cache ./config.cache checking whether ln -s works... (cached) yes checking for bison... no checking for byacc... no checking for gcc... (cached) cc checking whether we are using GNU C... (cached) no checking for ranlib... (cached) : checking for a BSD compatible install... (cached) ./install.sh -c checking whether make sets $MAKE... (cached) no checking for working const... (cached) no checking how to run the C preprocessor... (cached) cc -E checking whether cross-compiling... (cached) yes checking for ANSI C header files... (cached) no checking for size_t... (cached) no checking for ANSI C header files... (cached) no checking for string.h... (cached) yes checking for malloc.h... (cached) yes checking for sys/types.h... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h config.h is unchanged # make cc -c -I. -I. -g parse.c In file included from /usr/include/string.h:18, from flexdef.h:51, from ./parse.y:50: /usr/include/iso/string_iso.h:60: warning: conflicting types for built-in function `memcmp' /usr/include/iso/string_iso.h:61: warning: conflicting types for built-in function `memcpy' /usr/include/iso/string_iso.h:65: warning: conflicting types for built-in function `strcmp' /usr/include/iso/string_iso.h:66: warning: conflicting types for built-in function `strcpy' In file included from ./parse.y:113: /usr/include/stdlib.h:165: conflicting types for `getsubopt' /usr/include/stdio.h:267: previous declaration of `getsubopt' /usr/include/stdlib.h:189: conflicting types for `getopt' /usr/include/stdio.h:265: previous declaration of `getopt' make: *** [parse.o] Error 1 ============================================= ppp-2.4.1 ================================================== # pwd /opt/source/ppp-2.4.1 # ./configure Creating links to Makefiles. Makefile -> solaris/Makefile.top solaris/Makefile -> Makefile.sol2-64 pppd/Makefile -> Makefile.sol2 pppstats/Makefile -> Makefile.sol2 chat/Makefile -> Makefile.sol2 pppdump/Makefile -> Makefile.sol2 # make cd chat; make all make[1]: Entering directory `/opt/source/ppp-2.4.1/chat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/source/ppp-2.4.1/chat' cd pppd; make all make[1]: Entering directory `/opt/source/ppp-2.4.1/pppd' cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o main.o main.c cc: unrecognized option `-Xa' cc: language space not recognized cc: main.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o magic.o magic.c cc: unrecognized option `-Xa' cc: language space not recognized cc: magic.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o fsm.o fsm.c cc: unrecognized option `-Xa' cc: language space not recognized cc: fsm.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o lcp.o lcp.c cc: unrecognized option `-Xa' cc: language space not recognized cc: lcp.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o ipcp.o ipcp.c cc: unrecognized option `-Xa' cc: language space not recognized cc: ipcp.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o upap.o upap.c cc: unrecognized option `-Xa' cc: language space not recognized cc: upap.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o chap.o chap.c cc: unrecognized option `-Xa' cc: language space not recognized cc: chap.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o md5.o md5.c cc: unrecognized option `-Xa' cc: language space not recognized cc: md5.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o tty.o tty.c cc: unrecognized option `-Xa' cc: language space not recognized cc: tty.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o ccp.o ccp.c cc: unrecognized option `-Xa' cc: language space not recognized cc: ccp.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o auth.o auth.c cc: unrecognized option `-Xa' cc: language space not recognized cc: auth.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o options.o options.c cc: unrecognized option `-Xa' cc: language space not recognized cc: options.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o demand.o demand.c cc: unrecognized option `-Xa' cc: language space not recognized cc: demand.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o utils.o utils.c cc: unrecognized option `-Xa' cc: language space not recognized cc: utils.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o sys-solaris.o sys-solaris.c cc: unrecognized option `-Xa' cc: language space not recognized cc: sys-solaris.c: linker input file unused since linking not done cc -I../include -DSVR4 -DSOL2 -O -Xa -xO2 -xspace -W0,-Lt -DPLUGIN -c -o tdb.o tdb.c cc: unrecognized option `-Xa' cc: language space not recognized cc: tdb.c: linker input file unused since linking not done cc -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o tty.o ccp.o auth.o options.o demand.o utils.o sys-solaris.o tdb.o -lsocket -lnsl -ldl cc: main.o: No such file or directory cc: magic.o: No such file or directory cc: fsm.o: No such file or directory cc: lcp.o: No such file or directory cc: ipcp.o: No such file or directory cc: upap.o: No such file or directory cc: chap.o: No such file or directory cc: md5.o: No such file or directory cc: tty.o: No such file or directory cc: ccp.o: No such file or directory cc: auth.o: No such file or directory cc: options.o: No such file or directory cc: demand.o: No such file or directory cc: utils.o: No such file or directory cc: sys-solaris.o: No such file or directory cc: tdb.o: No such file or directory make[1]: *** [pppd] Error 1 make[1]: Leaving directory `/opt/source/ppp-2.4.1/pppd' make: *** [all] Error 2 ================================================== Sorry for bothering you with this newbie question. I promise to reduce the noise on the list as soon as I managed to get anything (ideally ppp) compiled. Please help! What could be wrong here? Thanks a lot in advance! - Andreas _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Sat Mar 16 06:55:16 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:37 EST