[Samba] Illegal instruction: 4 (core dumped) when running testparm & [sn]mbd with default config
RuiDC
ruidc at yahoo.com
Tue Dec 22 07:13:46 MST 2009
Volker Lendecke wrote:
>
> On Tue, Dec 22, 2009 at 05:31:20AM -0800, RuiDC wrote:
>>
>>
>>
>> Volker Lendecke wrote:
>> >
>> > Please compile with -g (./configure.developer will do that).
>> >
>>
>> I did, as I selected the WITH_MAX_DEBUG and it built dmalloc, here is the
>> extract from the ports Makefile:
>>
>> .if defined(WITH_MAX_DEBUG)
>> CPPFLAGS+= -g
>> LDFLAGS+= -g
>> LIB_DEPENDS+= dmalloc.1:${PORTSDIR}/devel/dmalloc
>> CONFIGURE_ARGS+= --enable-debug \
>> --enable-socket-wrapper --enable-nss-wrapper \
>> --enable-developer --enable-krb5developer \
>> --enable-dmalloc --with-profiling-data
>
> Ok, I guess then something is broken with your build
> environment. Can you try building with just with
>
> ./configure; make
>
> and retry? BTW, WITH_MAX_DEBUG does not show up in the samba
> sources. What is this??
>
>
That's like a wrapper or meta-option in FreeBSD ports Makefile:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/samba33/Makefile?rev=1.9;content-type=text%2Fplain
This is the normal way to build a port. I guess if you think that there is a
problem in this wrapping then my only recourse is to seek the port
maintainer.
--
View this message in context: http://old.nabble.com/Illegal-instruction%3A-4-%28core-dumped%29-when-running-testparm----sn-mbd-with-default-config-tp26879957p26888986.html
Sent from the Samba - General mailing list archive at Nabble.com.
More information about the samba
mailing list