Re: teardrop compiling installation,

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

 



On 12/31/2009 11:07 AM, Vincent Onelli wrote:
> Hello,
> I download compressed file "bert-pcb-plogins-17755b2.tar.gz"
> decompressed generate a directory "bert-pcb-plugins-17755b2". I cd to
> bert-pcb-plugins-17755b2/src which is where I found teardrops.c file
> then entered the suggested command gcc ... the follow is the result:
> [vinny@laptop src]$ gcc -I$HOME/geda/pcb-cvs/src -I$HOME/geda/pcb-cvs
> -02 -shared teardrops.c -o teardrops.so
> gcc: unrecognized option '-02'
> teardrops.c:13:20: error: global.h: No such file or directory
> teardrops.c:14:18: error: data.h: No such file or directory
> teardrops.c:15:17: error: hid.h: No such file or directory
> teardrops.c:16:18: error: misc.h: No such file or directory
> teardrops.c:17:20: error: create.h: No such file or directory
> teardrops.c:18:19: error: rtree.h: No such file or directory
> teardrops.c:19:18: error: undo.h: No such file or directory
> teardrops.c:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘pin’
> teardrops.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘silk’
> teardrops.c:29: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
> teardrops.c:151: error: expected ‘)’ before ‘_pin’
> teardrops.c: In function ‘teardrops’:
> teardrops.c:175: error: ‘silk’ undeclared (first use in this function)
> teardrops.c:175: error: (Each undeclared identifier is reported only
> once
> teardrops.c:175: error: for each function it appears in.)
> teardrops.c:175: error: ‘PCB’ undeclared (first use in this function)
> teardrops.c:181: error: ‘via’ undeclared (first use in this function)
> teardrops.c:183: error: ‘END_LOOP’ undeclared (first use in this
> function)
> teardrops.c:187: error: ‘pin’ undeclared (first use in this function)
> teardrops.c:189: error: ‘ENDALL_LOOP’ undeclared (first use in this
> function)
> teardrops.c:191: error: ‘gui’ undeclared (first use in this function)
> teardrops.c: At top level:
> teardrops.c:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘teardrops_action_list’
> teardrops.c: In function ‘REGISTER_ACTIONS’:
> teardrops.c:208: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘{’ token
> teardrops.c:210: error: expected ‘{’ at end of input
> [vinny@laptop src]$ 
> 
> Obviously, I am doing some thing wrong. I am stuck, help.

Look for a Makefile.  Its usually the place to start.  The usual script
of commands would be:

make configure
make
make install

(OK, the 3rd might have to be "sudo make install")

-- 
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux