Hello Cesar,

Cesar Strauss wrote:

>
> What "gcc --version" gives you? Is it 4.3.4?
>

On my computer, Cygwin GCC tell:
        gcc (GCC) 4.3.4 20090804 (release) 1


>
> Curiously, when I tried it myself, the build succeeded with gcc 3.4.4,
> but failed with undefined references when switching to gcc 4.3.4. They
> seem to be related to some inline functions in toporouter.c. I will try
> to narrow it down.
>
> Meanwhile, you could try switching to gcc 3.4.4:
>
> 1) Install gcc-core from Cygwin Setup
> 2) chmod +x /usr/bin/set-gcc-default*
> 3) set-gcc-default-3.sh
> 4) gcc --version (should be 3.4.4)
> 5) Rebuild pcb from scratch.
>
> Or, alternatively, keep gcc 4.3.4, but remove all "inline" keywords from
> toporouter.c.
>

- After some hours of work, I find the way to built PCB.  But it is really
  dirty.  Here what I have done:

        - Done a "./configure" using the following command:

"./configure --disable-update-mime-database --disable-update-desktop-database --disable-nls --disable-update-xdg-database --prefix=/usr/local/geda"

        - In "src/core_lists.h", removed the last line
          ("REGISTER_ACTIONS (toporouter_action_list)").

        - Do a "make".
          Note: This result to a link error at the end.

        - Grab (stdout) messages given by "make", and use it to create a
          custom manual link (through a shell script), replacing bad references
          to local libraries.  Ex.: Replacing "libgtk.a", by "-lgtk".
          Also removing "toporouter.o" that seems to refer to objects that
          can not be found anywhere!?

        - Do a "make install".


- I will try your workaround.


Thank you for your help.
Claude.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to