Jøhnny Fävòrítê (it means "halo, then resonate")
2004-02-29 23:46:47 UTC
well, i got lucky last time, so i'll press my luck ...
i am working for years on an app which is getting abso-redicu-huge.
like 70mb, when built with debug info. it takes forever to link, and
forever and a half to load into bdb. i want to break it up into static
libs, so i can build most of them without debug info most of the time.
alas, it appears that beide has some sort of bug that doesn't allow it
to link apps against static libs. i thought it was the .a file i'd just
built, so i tried building this tiny little app, and linking it against
libpng.a, which is static:
#include <png.h>
int main(void)
{
png_struct png;
const char* ptr = NULL;
png_chunk_warning(&png, ptr);
return 0;
}
that doesn't work either. i get:
Error : /Liquid/Project/LibTest/(Objects.LibApp)/LibApp.o: In function
`main': /Liquid/Project/LibTest/(Objects.LibApp)/LibApp.o(.text+0x20):
undefined reference to `png_chunk_warning' Error : collect2: ld
returned 1 exit status
i can make this work fine, if i build the app with a makefile, rather
than with beide.
i tried everything i could think of, like putting "-lpng" and "-Xlinker
lpng" in the "More Linker Options" box, to no avail.
if anybody knows the magic incantation, i'd love to hear about it. i'd
sure hate to think this was the end of the road for me and beide.
i am working for years on an app which is getting abso-redicu-huge.
like 70mb, when built with debug info. it takes forever to link, and
forever and a half to load into bdb. i want to break it up into static
libs, so i can build most of them without debug info most of the time.
alas, it appears that beide has some sort of bug that doesn't allow it
to link apps against static libs. i thought it was the .a file i'd just
built, so i tried building this tiny little app, and linking it against
libpng.a, which is static:
#include <png.h>
int main(void)
{
png_struct png;
const char* ptr = NULL;
png_chunk_warning(&png, ptr);
return 0;
}
that doesn't work either. i get:
Error : /Liquid/Project/LibTest/(Objects.LibApp)/LibApp.o: In function
`main': /Liquid/Project/LibTest/(Objects.LibApp)/LibApp.o(.text+0x20):
undefined reference to `png_chunk_warning' Error : collect2: ld
returned 1 exit status
i can make this work fine, if i build the app with a makefile, rather
than with beide.
i tried everything i could think of, like putting "-lpng" and "-Xlinker
lpng" in the "More Linker Options" box, to no avail.
if anybody knows the magic incantation, i'd love to hear about it. i'd
sure hate to think this was the end of the road for me and beide.