Discussion:
samba compile
(too old to reply)
Bill Walker
2003-10-01 14:41:18 UTC
Permalink
Hi All-

I'm using SCO 5.0.5, with gcc 3.2.2 installed. I'm trying to
compile samba 3.0.0, and I keep getting complaints from the linker
about unresolved symbols. I've tried to build both statically and
dynamically linked stuff.

Most of the binaries will compile and even seem to do something,
however ...

I get a failure to link when building the plug-ins, specifically
a reference to a non-existent "pic/libgcc.a". When I actually create directory
"pic" and place the libgcc.a from gcc 3.2.2 within it, then there are
complaints about trying to link files of different types together.

Grr. My real question is: has anyone built samba 3.0.0 under
OSR 5.0.5, and if so, how ?

73 de Bill W5GFE
***@cs.ecok.edu
Bela Lubkin
2003-10-02 02:31:19 UTC
Permalink
Post by Bill Walker
I'm using SCO 5.0.5, with gcc 3.2.2 installed. I'm trying to
compile samba 3.0.0, and I keep getting complaints from the linker
about unresolved symbols. I've tried to build both statically and
dynamically linked stuff.
Most of the binaries will compile and even seem to do something,
however ...
I get a failure to link when building the plug-ins, specifically
a reference to a non-existent "pic/libgcc.a". When I actually create directory
"pic" and place the libgcc.a from gcc 3.2.2 within it, then there are
complaints about trying to link files of different types together.
Grr. My real question is: has anyone built samba 3.0.0 under
OSR 5.0.5, and if so, how ?
Thanks for including the actual commands the makefile was trying to run,
and the error output. They make it so much easier to debug this sort of
thing.

Um.

Wild guess, but you'll probably have better luck with plugins if all the
compile and link lines have the "-belf" flag in them. Make sure that's
in "CFLAGS" or whatever these makefiles use. Wipe out the existing
build and start over (`make clean` or similar, from the top).
Post by Bill Walker
Bela<
Loading...