This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Help, what am I doing wrong/what do I need?


Everything I try to compile and build I get /usr/ccs/bin/as error messages
If I download the SMCgcc301 package and install it I would think that if I download other apps ie. Xemacs etc that I should be able to compile the source
and build binaries that I can run on my E3500 Sun box with Solaris 2.8.

What else do I need to do.  I downloaded the source for binutils, but get the same type of error when I try to compile the code.


The following error is what I get:
cd ./lib-src && make  CC='gcc' CFLAGS='-g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith' LDFLAGS='' CPPFLAGS='' all
gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith -I. -I../src -I/export/home/mcclurtd/apps/xemacs/xemacs-21.4.4/lib-src -I/export/home/mcclurtd/apps/xemacs/xemacs-21.4.4/src  -DHAVE_CONFIG_H -I/usr/dt/include -I/usr/openwin/include /export/home/mcclurtd/apps/xemacs/xemacs-21.4.4/lib-src/gnuclient.c gnuslib.o  -L/usr/ccs/lib -Xlinker -R/usr/ccs/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../.. -L/usr/dt/lib -L/usr/openwin/lib -lXau -lXmu -lXt -lXext -lX11 -lSM -lICE -lcurses /usr/demo/SOUND/lib/libaudio.a -lldap -lm -lsocket -lnsl -lelf -lgen -ldl -o gnuclient
/usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2615: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2615: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2635: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/cclysrIr.s", line 2635: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `gnuclient'
Current working directory /export/home/mcclurtd/apps/xemacs/xemacs-21.4.4/lib-src
*** Error code 1
make: Fatal error: Command failed for target `lib-src'

Please help!
Thanks


Terry McClurg - CSC
Software Engineer
AFRL/SN Distributed Center https://portal.embedded.hpc.mil/
Phone: (937) 255-6329 x2654
Fax:     (937) 255-1100
Email: Terry.McClurg@wpafb.af.mil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]