[Home]

Summary:ASTERISK-00723: make process creates .h files too late
Reporter:smart (smart)Labels:
Date Opened:2003-12-29 14:24:43.000-0600Date Closed:2011-06-07 14:04:58
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I'm no wiz on the topic, so possibly i'm totally wrong.
In any case it seems to me that there are some .h files created in the main part of the make process, where they would be needed in the dependencies part already.
I verified some of these .h files to exist after compilation, but not before.
In the end, i don't get all modules compiled such as app_meetme, and possibly, it's the reason why others seem to be not working correctly.
What i get during make is in the additionals...
If the complete log is wanted, i can add that as a file.

****** ADDITIONAL INFORMATION ******

./mkdep -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_
REENTRANT -D_GNU_SOURCE  -O6 -march=i586   -DASTERISK_VERSION=\"0.5.0\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/as
terisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSP
OOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DAS
TMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     -DNEW_P
RI_HANGUP  `ls *.c`
cli.c:31:19: build.h: No such file or directory

../mkdep -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D
_REENTRANT -D_GNU_SOURCE  -O6 -march=i586   -DASTERISK_VERSION=\"0.5.0\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/a
sterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTS
POOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DA
STMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     -DNEW_
PRI_HANGUP  -Wno-missing-prototypes -Wno-missing-declarations      -DCRYPTO -fPIC  `ls *.c`
chan_alsa.c:30:18: busy.h: No such file or directory
chan_alsa.c:31:22: ringtone.h: No such file or directory
chan_nbs.c:33:17: nbs.h: No such file or directory
chan_oss.c:41:18: busy.h: No such file or directory
chan_oss.c:42:22: ringtone.h: No such file or directory
chan_vpb.c:34:20: vpbapi.h: No such file or directory
chan_zap.c:46:26: linux/zaptel.h: No such file or directory
chan_zap.c:48:22: tonezone.h: No such file or directory
chan_zap_old.c:46:26: linux/zaptel.h: No such file or directory
chan_zap_old.c:48:22: tonezone.h: No such file or directory

../mkdep -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D
_REENTRANT -D_GNU_SOURCE  -O6 -march=i586   -DASTERISK_VERSION=\"0.5.0\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/a
sterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTS
POOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DA
STMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     -DNEW_
PRI_HANGUP  -fPIC `ls *.c`
codec_g723_1.c:46:28: g723.1/typedef.h: No such file or directory
codec_g723_1.c:47:28: g723.1/cst_lbc.h: No such file or directory
codec_g723_1.c:48:26: g723.1/coder.h: No such file or directory
codec_g723_1.c:49:26: g723.1/decod.h: No such file or directory
codec_g723_1.c:50:28: g723.1/dec_cng.h: No such file or directory
codec_g723_1.c:51:28: g723.1/cod_cng.h: No such file or directory
codec_g723_1.c:52:24: g723.1/vad.h: No such file or directory
codec_speex.c:34:19: speex.h: No such file or directory
Comments:By: Tilghman Lesher (tilghman) 2003-12-29 17:58:10.000-0600

Yep, you're totally wrong.  Take a look at the generated header files.  None of them have any dependencies.

In most of the other cases, yes, the Makefile could probably be made to handle non-existent files more gracefully (non-existent because the functionality is not desired), but it's not really a problem.

By: smart (smart) 2003-12-29 20:23:57.000-0600

Fine. So i'm wrong with my guess. But, what's the solution to the problem ?

By: Tilghman Lesher (tilghman) 2003-12-29 22:11:12.000-0600

It's purely a cosmetic problem.  If you'd like to submit a patch to hide the error messages, you're welcome to do so.  However, this is not a functional problem.

By: smart (smart) 2003-12-30 02:29:20.000-0600

These files don't get compiled when i do make (i wanted to use meetme, but the module doesn't exist in my installation, so that's my original problem):
app_flash, app_meetme, app_rpt, app_zapbarge, app_zapras
chan_vofr, chan_vpb, chan_zap, chan_zap_old, gentone
codec_g723_1, codec_speex
format_g723

For these files "No such file or directory" is reported during depend:
cli
chan_alsa, chan_nbs, chan_oss, chan_vpb, chan_zap, chan_zap_old
pbx_gtkconsole
app_flash, app_meetme, app_rpt, app_zapbarge, app_zapras
codec_g723_1, codec_speex
astman

There is a similarity in these lists which originally made me think as described in the bugreport. For i'm not sure if i need all the other stuff, i wanted to use meetme.
Since i did not find any specific descriptions on somthing  i should care for/prepare to get it compiled, i thought this to be an error.
How do i get app_meetme ?

By: Tilghman Lesher (tilghman) 2003-12-30 07:45:59.000-0600

You need to download, compile, and _install_ zaptel before building asterisk.

Please ask about this on the -users list in the future, instead of opening a new ticket.

edited on: 12-30-03 07:41

By: Brian West (bkw918) 2003-12-30 16:02:04.000-0600

going once.. going twice... going.... gone!