[Sussex] Unable to 'c' in Xandros

The ol' tealeg geoff at tealeg.uklinux.net
Fri Nov 29 23:33:01 UTC 2002


Angelo

Try this:

su
ln -sf /usr/bin/gcc /usr/bin/cc

This will make a softlink from gcc to a virtual command cc and your make file should then run as required.

-- 
GJT
geoff at tealeg.uklinux.net


On Fri, 29 Nov 2002 21:10:05 +0000
Angelo Servini <angelo at servini.co.uk> wrote:

> Hi fellas.  Can you help?
> 
> I downloaded an app and tried to compile it as root by running 'make'
> 
> I got the error 'cc: Command not found'
> 
> here is the contents of a file I generated with 'make -n > fred'
> 
> **************
> 
> rm -f gt6801.o cc -c -Wall -Wno-unknown-pragmas -fomit-frame-pointer 
> -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c 
> -D__KERNEL__ -DMODULE  -I. -I/usr/src/linux/include/linux gt6801.c
> if [ `id -ur` != 0 ]; then \
>     echo Please run \"make install\" as root.; \
> else \
>     mkdir -p /lib/modules/2.4.19-x1/kernel/drivers/usb && \
>     /usr/bin/install -m 0664 -o root -g root gt6801.o 
> /lib/modules/2.4.19-x1/kernel/drivers/usb/gt6801.o && \
>     /sbin/depmod -a && \
>     /sbin/modprobe gt6801 && \
>     echo "GT-6801 installed successfully."; \
> fi
> 
> 
> **************
> 
> Using the Xandros-update manager I find that GCC is already installed 
> but nowhere can I find how to run it.
> 
> Respectfully, Frustrated.
> 
> :-(
> 
> Angelo
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20021129/d25abdce/attachment.pgp 


More information about the Sussex mailing list