This has come up a couple of times on fink-users and on fink-beginners. No ideas have come forward so far and the maintainer (Max) seems unresponsive:

The package dosbox does not build. It crashes with

g++ -g -O2 -I/sw/include/SDL -D_THREAD_SAFE -L/sw/lib -o dosbox dosbox.o cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a shell/libshell.a -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL -lpng -lz -framework AudioUnit
[snip]
ld: warning prebinding not disabled because (__DATA segment (address = 0xe8000 size = 0x13f9000) of dosbox overlaps with __LINKEDIT segment (address = 0xbf000 size = 0x144000) of /sw/lib/libSDL-1.2.0.dylib
ld: /usr/lib/crt1.o can't create relocation entry for prebinding (address of section (__DATA,__la_symbol_ptr) more than 24-bits away from first segment, use -noprebind)
[repeated 3 times]
make[3]: *** [dosbox] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling dosbox-0.61-1 failed


In fact, when one does the compile command by hand, the resulting binary has a size of more than 24MB.

Now I know nothing about this package and whether the excessive size is genuine or due to a bug, but the question is:

What is the recommended way to transmit "-noprebind" to the build process? Is it "NoSetLD_PREBIND: true"? Where is this documented?

--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to