[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc problem
From: |
Nelson Minar |
Subject: |
Re: gcc problem |
Date: |
Fri, 14 Jun 96 12:58:40 MDT |
>gcc -c -g -Wall -Wno-import -I../swarm/include -I/usr/openwin/include
>-I/home/ias/tcl/tcl7.4 -I/home/ias/tcl/tk4.0 -I/home/ias/tcl/libtclobjc-1.1b3
>HeatbugBatchSwarm.m
>HeatbugBatchSwarm.m: In function `_i_HeatbugBatchSwarm__go':
>HeatbugBatchSwarm.m:106: warning: implicit declaration of function `printf'
>HeatbugBatchSwarm.m: In function `_i_HeatbugBatchSwarm__writeData':
>HeatbugBatchSwarm.m:118: warning: implicit declaration of function `fprintf'
>HeatbugBatchSwarm.m: In function `_i_HeatbugBatchSwarm__stopRunning':
>HeatbugBatchSwarm.m:127: warning: implicit declaration of function `fclose'
This warning is benign - SunOS just doesn't ship with *any*
prototype of printf anywhere. Ah, the days before ANSI.
>gcc -L../swarm/lib -L/usr/local/lib -L/usr/openwin/include
>-L/home/ias/blt/blt2.1/src -L/home/ias/tcl/libtclobj-1.1b3
>-L/home/ias/xpm/xpm-3.4h/lib -L/usr/openwin/lib -g -o heatbugs Heatbug.o
>HeatSpace.o main.o HeatbugModelSwarm.o HeatbugObserverSwarm.o
>HeatbugBatchSwarm.o -lspace -lsimtools -ltkobjc -lactivity -lrandom
>-lswarmobject -lcollections -ldefobj -ltclobjc -lBLT -ltk -ltcl -lXpm -lX11
>-lobjc -lm
>collect2: executing gcc: Permission denied
>make: *** [heatbugs] Error 1
something is wrong with your gcc installation. collect2 is a special
program used to link Objective C and C++ programs (it's invoked by
gcc). Apparently it's trying to invoke gcc, but the gcc it's invoking
isn't right. Make sure that the collect2, ld, and gcc you're using are
all from the same gcc version. You might want to ask your sysadmin.
- gcc problem, Kevin Allen, 1996/06/14
- Re: gcc problem,
Nelson Minar <=