Re: Circular dependecy linker trouble

2007-06-08 Thread Andreas Schwab
Søren Boll Overgaard <[EMAIL PROTECTED]> writes: > Framework code depends on services code and vice versa. > Linking fails to resolve dependencies. The linker command line > essentially looks like this: > > g++ -g -O2 ../src/framework/libframework.a ../src/services/ > liblmsservices.a -o progr

Re: Circular dependecy linker trouble

2007-06-07 Thread Bob Proulx
Søren Boll Overgaard wrote: > Hello, > > I've recently migrated a rather large body of code from a proprietary > development environment, to an automake based one. > > I've run into trouble during linking though. The code is laid out like > this: > > src/ > Contains main.cpp which holds the m

Circular dependecy linker trouble

2007-06-07 Thread Søren Boll Overgaard
Hello, I've recently migrated a rather large body of code from a proprietary development environment, to an automake based one. I've run into trouble during linking though. The code is laid out like this: src/ Contains main.cpp which holds the main method src/framework/ Contains framework c