Re: Make mjpegtools build with LDFLAGS=-Wl, -z, defs

Fabian Greffrath <[email protected]> Mon, 07 Apr 2008 10:15:35 +0200
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
Steven M. Schultz schrieb:
> 	But now you've change the scenario!  Before you were talking about
> 	"as needed" linking.  NOW you're talking about "disallowing undefined
> 	symbols in object files".
> 
> 	Two completely different things!

You should have read my mail of 2008-03-27 15:48 in which I've told you:

> To make sure we are not at cross-purposes: It is not '-Wl,
> --as-needed' that makes the compilation fail. It is '-Wl,-z,defs'
> instead. [...]

Steven M. Schultz schrieb:
> 	Not at all.  If I tell the linker "do not allow undefined symbols"
> 	then I really shouldn't find it strange that the linker gives me
> 	errors.  

I consider it bad style to allow for undefined symbols in object 
files, that's all!

> 	Patient:  Doctor, it hurts when I hit my head on the wall.
> 	Doctor:  Well, don't do that :)

Erm... are you going to make a fool of me or what?

Cheers,
Fabian


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone