On Fri, Sep 9, 2011 at 8:08 PM, bsquared <bwcode4u gmail com> wrote:
Hello, I have read that this may be a problem with build system, but how can i fix it. when I run 'make clean && make' I get previous definition of ... for each class in the file. but if I run valac it compiles fine. Is the make system caching information somewhere? I rebooted and retried with same result.
This started when I re-factored the class to a new file. If that is the cause, how does one avoid it? Upon further inspection I found that aftermake clean the *.deps are not recreated, and when --fast-vapi is not set the final line from the make output (attached) is: `/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status' -- Regards, -Brian
Attachment:
make.log
Description: Text Data