10 Ocak 2012, Salı
muhtemelen tanımsız makro: AC_MSG_ERROR
Yapılandırma konusunda şu var.ac:
AC_CHECK_PROGS(MAKE,$MAKE make gmake,error)
if test "x$MAKE" = "xerror" ;then
AC_MSG_ERROR([cannot find a make command])
fi
Bu uzun bir süre projemiz olmuştur, ama bir set up, bu hata alıyorum:
configure.ac:45: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Bu yukarıdaki son eklenen satır:
AC_CONFIG_MACRO_DIR([m4])
LT_INIT
Herkes bu hata nedeni nedir ve sorun izini nasıl açıklayabilir?
DÜZENLEME:Farklar hakkında ayrıntılar ekleyerek.
Bu eserler kutusu:
uname -a Linux host1 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28 19:33:45 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
automake: 1.11.1
autoconf: 2.67
m4: 1.4.14
libtoolize: 2.2.6b
Bu iÅŸe yaramazsa kutusu:
Linux host2 2.6.32-35-generic-pae #78-Ubuntu SMP Tue Oct 11 17:01:12 UTC 2011 i686 GNU/Linux
automake: 1.11.1
autoconf: 2.65
m4: 1.4.13
libtoolize: 2.2.6b
YENİ DÜZENLEME:sadece 32 bit makineler deneyimi bu zorluk.
GÜNCELLENDİautoconf 2.67, automake 1.11.1, libtool 2.2.6b, ve m4 1.4.14 Otomotiv-makine sorunu yeniden oluşturmak mümkün duyuyorum. Bu 32-bit makineler ile sadece bir hata mı?
CEVAP
26 Ocak 2012, PERÅžEMBE
Bu aynı sorunu vardı ve paket-config eksik olduğunu gördüm.
Paketi içeren yüklendikten sonra, her şeyin doğru oluşturulur.
Bunu PaylaÅŸ:

Neden CYBH davranış::memcpy TriviallyC...
() Olası/muhtemel() Linux çekirdeği ma...
C ile makro oluÅŸturma ## ve __SATIR__ ...
Bağlama Null / Tanımsız ise açısal Şab...
Bu derleyici optimizasyonu bir hata, y...