public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc compile error
@ 2000-12-23 19:12 ADawson532
  0 siblings, 0 replies; 4+ messages in thread
From: ADawson532 @ 2000-12-23 19:12 UTC (permalink / raw)
  To: gcc-help

I recently installed Cygwin on top of Windows 98 for the sole reason of 
getting access to gcc. When I attempt to compile a simple test program, gcc 
gives the following error: gcc: installation problem, can't exec 'as': no 
such file or directory.

I installed Cygwin directly off the net. I'm assuming I have an incorrect 
PATH setting but I've checked the COMPILER_PATH and LIBRARY_PATH and I've set 
them to include all relevant paths 
(PATH="/usr/local/bin:/usr/bin:/usr/lib:/usr/include:/bin:$PATH"
COMPILER_PATH="/lib/gcc-lib:/bin:/usr/bin:/usr/lib:/usr/include"
LIBRARY_PATH="/lib/gcc-lib:/lib"). 

Are there other settings I'm missing or did gcc just get installed 
incorrectly?

Thanks for any help.

Al Dawson

^ permalink raw reply	[flat|nested] 4+ messages in thread

* gcc compile error
@ 2006-02-10 20:14 chun-chih_soong
  0 siblings, 0 replies; 4+ messages in thread
From: chun-chih_soong @ 2006-02-10 20:14 UTC (permalink / raw)
  To: gcc-help; +Cc: chunchih.soong


Hi,

I just download gcc-3.3.2 from Sunfreeware.com to my Ultra 5 with Solaris
8.

When I compile a network program, I got following include errors:

In file included from /usr/include/sys/time.h:406,
                 from /usr/include/sys/select.h:17,
                 from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/3.3.2
/include/sys/types.h:291,
                 from connectsock.c:3:
/usr/include/time.h:111: error: parse error before "pthread_attr_t"
/usr/include/time.h:113: error: parse error before '}' token
In file included from connectsock.c:4:
/usr/include/sys/socket.h:52: error: parse error before "sa_family_t"
/usr/include/sys/socket.h:61: error: parse error before "socklen_t"
/usr/include/sys/socket.h:194: error: parse error before "sa_family_t"
/usr/include/sys/socket.h:196: error: parse error before '}' token
In file included from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:41,
                 from /usr/include/sys/socket.h:199,
                 from connectsock.c:4:
/usr/include/sys/vnode.h:167: error: parse error before "u_offset_t"
/usr/include/sys/vnode.h:175: error: parse error before '}' token
/usr/include/sys/vnode.h:202: error: parse error before "vattr32_t"
/usr/include/sys/vnode.h:314: error: parse error before "intptr_t"
/usr/include/sys/vnode.h:381: error: parse error before "u_offset_t"
In file included from /usr/include/sys/socket.h:199,
                 from connectsock.c:4:
/usr/include/netinet/in.h:53: error: parse error before "in_port_t"
/usr/include/netinet/in.h:69: error: parse error before "in_addr_t"
/usr/include/netinet/in.h:74: error: parse error before "ipaddr_t"
/usr/include/netinet/in.h:96: error: parse error before "uint8_t"
/usr/include/netinet/in.h:99: error: parse error before "__S6_align"
/usr/include/netinet/in.h:101: error: parse error before '}' token
/usr/include/netinet/in.h:224: error: parse error before "uint8_t"
/usr/include/netinet/in.h:225: error: parse error before "uint16_t"
/usr/include/netinet/in.h:227: error: parse error before "S_addr"
/usr/include/netinet/in.h:238: error: parse error before '}' token
/usr/include/netinet/in.h:295: error: parse error before "sa_family_t"
/usr/include/netinet/in.h:303: error: parse error before '}' token
/usr/include/netinet/in.h:310: error: parse error before "sa_family_t"
/usr/include/netinet/in.h:312: error: parse error before "sin6_flowinfo"
/usr/include/netinet/in.h:314: error: parse error before "sin6_scope_id"
/usr/include/netinet/in.h:315: error: parse error before "__sin6_src_id"
/usr/include/netinet/in.h:678: error: parse error before "uint8_t"
/usr/include/netinet/in.h:680: error: parse error before
"ipsr_esp_auth_alg"
/usr/include/netinet/in.h:725: error: field `imr_multiaddr' has incomplete
type
/usr/include/netinet/in.h:726: error: field `imr_interface' has incomplete
type
/usr/include/netinet/in.h:734: error: field `ipv6mr_multiaddr' has
incomplete type
/usr/include/netinet/in.h:742: error: field `ipi6_addr' has incomplete type
/usr/include/netinet/in.h:759: error: field `in_prefix_addr' has incomplete
type
/usr/include/netinet/in.h:761: confused by earlier errors, bailing out
make: Fatal error: Command failed for target `connectsock.o'


I need your help,
Thank you very much.


Soong










Note: The information contained in this message and any attachment to it is
privileged, confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify the sender immediately by replying to
the message, and please delete it from your system. Thank you.

Prudential Equity Group, LLC, Member NYSE, SIPC
One New York Plaza
New York, New York 10292

^ permalink raw reply	[flat|nested] 4+ messages in thread

* gcc compile error
@ 2002-02-07  5:17 Bubulac Angela Tatiana
  0 siblings, 0 replies; 4+ messages in thread
From: Bubulac Angela Tatiana @ 2002-02-07  5:17 UTC (permalink / raw)
  To: gcc-help

Hello,

I have Sco Open Server 5.0.5 with udk and gcc 2.95 binaries from
skunkware cd. I have tried to compile an extremely simple C program but
it seems that gcc does not transfer the right parameters to native 
sco assembler.

scosysv:/# gcc -c test.c
UX:as: ERROR: Illegal option -- b
UX:as: TO FIX: Usage: [-Qyn] [-VTRmn] [-Ydm,dir] [-o outfile] [-t
target] file ...
scosysv:/#

I have tried to replace -b parameter with -m in specs file but 
doesn't not work.

scosysv:/# gcc -c test.c
UX:m4: ERROR: /udk/usr/ccs/lib/cm4defs:85 can't open file
UX:as: ERROR: <m4output>:1:assembly inhibited
UX:as: ERROR: <m4output>:1:cannot recover from previous error

Whow can I resolve the problem of gcc and assembler?


TIA,
Bubulac Tatinana

^ permalink raw reply	[flat|nested] 4+ messages in thread

* gcc Compile error
@ 2000-12-12 13:39 Anderjaska, John
  0 siblings, 0 replies; 4+ messages in thread
From: Anderjaska, John @ 2000-12-12 13:39 UTC (permalink / raw)
  To: gcc-help

When I attempt to cross compile - see below:

gcc -m68020 -o test test.c

I get an error:

 Invalid option `68020

I must be making a simple mistake.  
I am using gcc 2.7 on a HP-UX system.
Thanks in advance for any help.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-10 20:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-23 19:12 gcc compile error ADawson532
  -- strict thread matches above, loose matches on Subject: below --
2006-02-10 20:14 chun-chih_soong
2002-02-07  5:17 Bubulac Angela Tatiana
2000-12-12 13:39 gcc Compile error Anderjaska, John

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).