Hello,

here I want to compile the recent version of mutt with
'mutt_dotlock'. Unfortunately the compilation will break
with the following messages:
-----------------------> cut here <------------------------ -
+ make mutt_dotlock
gcc -DSHAREDIR=\"/usr/share/mutt\" -DSYSCONFDIR=\"/usr/etc\"
-DBINDIR=\"/usr/bin\" -DHAVE_CONFIG_H=1 -I. -I.  -Iintl -I/usr/include
-I./intl  -Wall -pedantic -g -O2 -c mutt_dotlock.c
gcc  -Wall -pedantic -g -O2  -o mutt_dotlock  mutt_dotlock.o
/usr/lib/crt1.o(.text+0x36): undefined reference to `main'
mutt_dotlock.o: In function `dotlock_lock':
/usr/src/packages/BUILD/mutt-1.2/mutt_dotlock.c:595: undefined reference
to `Hostname'
collect2: ld returned 1 exit status
make: *** [mutt_dotlock] Error 1
Bad exit status from /var/tmp/rpm-tmp.17198 (%build)
-----------------------> cut here <------------------------ -

Im my mutt-1.2i.spec file I have add the following
configuration-options:
-----------------------> cut here <------------------------ -
%build
CFLAGS="$RPM_OPT_FLAGS  -DDL_STANDALONE"
./configure --prefix=/usr --enable-compressed --with-mixmaster 
--with-charmaps=/usr/share/i18n/charmaps --sysconfdir=%{prefix}/etc
make keymap_defs.h
make mutt_dotlock
-----------------------> cut here <------------------------ -
 
Whats going wrong here? 
Any hints?

bye - Wilhelm

-- 
>>>>>>>>> Wilhelm Wienemann, Amselweg 10, D-47546 Kalkar/Germany <<<<<<<<<
==========>>>>>   E-Mail: [EMAIL PROTECTED]  <<<<<===========
"And since you are the future keepers of everything, including music, we
 hope you will keep it well, with love, and in joy." (Frederick Fennell)   

Reply via email to