Please read his post before going through my notes.
So what is fuss all about?
As it seems, aside all problems Alex had there are few new ones on Fedora 12.
First thing is that Fedora 12 ships with GCC 4.4.something. Since GCC 4.3, gcc becomes more strict. What is significant is that generation does not include standard header files by default. This causes GCC to complain about 'memcpy', 'strncpy' and other function not beeing defined. After going through all files, which cause gcc to fail and adding includes by hand I got a bit pissed of. (not sure if this is the good sollution) Once I boiled up, decided to add includes into common/Utils.hpp file.
File modification includes two lines:
#include "stdio.h"
#include "string.h"
Second thing that poped up was error with parentheses. It seems that Seagull team went the easy way and left a lot of statements like:
if( x = (vv == x))
GCC does not like those anymore and fails. Only sollution is to edit files and add () so ifs look like:
if( (x = (vv == x)))
Now after cleaning it went quite good. To point when linker started its work.
relocation R_X86_64_32 against - this messages makes it to screen once ld goes into action.
It seems that "-fPIC" has not made it into make file. This seemed a bit odd, but... I got work-${version}/compile.mk into vim, edited and rerun. Again failure. Now, at this point it becomes a question why there are xxx.mk files, which do not affect build?
Sollution is quite simple. Add '-fPIC' to options BUILD_EXE_CC_FLAGS_LINUX and BUILD_LIB_CC_FLAGS_LINUX, present in build.conf.
Now clean compilation worked from kick.
Hope this helps. Cheers