[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-user: pcb+mucs+optimizer



Not an expert, here but you could try:

gcc -O2 -march=i386 -mcpu=i686 -pipe      -I/usr/X11R6/include    -Dlinux 
 -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
 -D_BSD_SOURCE -D_SVID_SOURCE     -DFUNCPROTO=15 -DNARROWPROTO   
 -DRELEASE=\"1.6.3\"  -DPCBLIBDIR=\"/opt/geda/lib\"  -DBTNMOD=\"Mod1\"  
 -DFONTFILENAME=\"URW Palladio L\"  -DLIBRARYFILENAME=\"cibolo\"  
 -DGNUM4=\"/usr/bin/m4\"  -DHAS_ATEXIT  -DHAS_REGEX      -o parse_y.o 
 -c parse_y.c

If that works, continue on with the make:

make

If you get more of these, where the -c is out of order, you'll have to fix the
Makefile
Tuck

> 
> Do you know how to get past this compiling PCB?
> 
>  imake -DUseInstalled -I/usr/X11R6/lib/X11/config
> [root@carbide pcb-1.6.3p]# make
> making all in ./src...
> make[1]: Entering directory `/opt/src/gEDASuite-0.2/pcb-1.6.3p/src'
> bison -y -d parse_y.y
> mv -f y.tab.c parse_y.c
> mv -f y.tab.h parse_y.h
> gcc -O2 -march=i386 -mcpu=i686 -pipe      -I/usr/X11R6/include    -Dlinux 
> -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
> -D_BSD_SOURCE -D_SVID_SOURCE     -DFUNCPROTO=15 -DNARROWPROTO   
> -DRELEASE=\"1.6.3\"  -DPCBLIBDIR=\"/opt/geda/lib\"  -DBTNMOD=\"Mod1\"  
> -DFONTFILENAME=\"URW Palladio L\"  -DLIBRARYFILENAME=\"cibolo\"  
> -DGNUM4=\"/usr/bin/m4\"  -DHAS_ATEXIT  -DHAS_REGEX      -c -o parse_y.o 
> parse_y.c
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [parse_y.o] Error 1
> make[1]: Leaving directory `/opt/src/gEDASuite-0.2/pcb-1.6.3p/src'
> make: *** [all] Error 2
>