[asterisk-bugs] [Zaptel 0010278]: tor2ee fails to build
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 7 13:36:44 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10278
======================================================================
Reported By: tzafrir
Assigned To: mattf
======================================================================
Project: Zaptel
Issue ID: 10278
Category: Utilities
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Zaptel Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 2673
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 07-23-2007 18:06 CDT
Last Modified: 06-07-2008 13:36 CDT
======================================================================
Summary: tor2ee fails to build
Description:
tor2ee has an include of <pci/pci.h> . This should be replaced with
<linux/pci/pci.h> (there is already an include of <linux/ppp_defs.h
there).
However at least on my system, there is no linux/pci/pci.h : only
linux/pci.h . And I get many build errors:
gcc -DHOTPLUG_FIRMWARE -g -Wall -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
-I/lib/modules/2.6.21.3boole1/build/include/linux -o to
r2ee.o -c tor2ee.c
In file included from /usr/include/sys/types.h:133,
from tor2ee.c:32:
/lib/modules/2.6.21.3boole1/build/include/linux/time.h:13: error: expected
specifier-qualifier-list before ‘time_t’
/lib/modules/2.6.21.3boole1/build/include/linux/time.h:19: error: expected
specifier-qualifier-list before ‘time_t’
In file included from /usr/include/sys/select.h:46,
from /usr/include/sys/types.h:216,
from tor2ee.c:32:
/usr/include/bits/time.h:70: error: redefinition of ‘struct timeval’
In file included from /usr/include/sys/types.h:266,
from tor2ee.c:32:
/usr/include/bits/pthreadtypes.h:50: error: expected
specifier-qualifier-list before ‘size_t’
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from tor2ee.c:35:
/usr/include/gconv.h:72: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/gconv.h:88: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/gconv.h:97: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before
‘size_t’
In file included from /usr/include/stdio.h:72,
from tor2ee.c:35:
/usr/include/libio.h:354: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/libio.h:363: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/libio.h:479: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’
In file included from tor2ee.c:35:
/usr/include/stdio.h:302: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:309: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:351: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:353: error: format string argument not a string type
/usr/include/stdio.h:355: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:603: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘fread’
/usr/include/stdio.h:609: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘fwrite’
/usr/include/stdio.h:631: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘fread_unlocked’
/usr/include/stdio.h:633: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’
In file included from tor2ee.c:37:
/usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’
/usr/include/stdlib.h:450: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:480: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdlib.h:482: error: nonnull argument with out-of-range
operand number (argument 1, operand 4)
/usr/include/stdlib.h:584: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:586: error: expected ‘)’ before ‘__nmemb’
/usr/include/stdlib.h:595: error: expected declaration specifiers or
‘...’ before ‘size_t’
In file included from /usr/include/stdlib.h:606,
Skipping the rest of them.
Anybody using it? Building it successfully?
======================================================================
----------------------------------------------------------------------
svnbot - 06-07-08 13:36
----------------------------------------------------------------------
Repository: dahdi
Revision: 3326
_U be/branches/C.1/
U be/branches/C.1/Makefile
_U be/branches/C.1/build_tools/
D be/branches/C.1/build_tools/make_firmware_object
A be/branches/C.1/build_tools/make_firmware_object.in
U be/branches/C.1/configure
U be/branches/C.1/configure.ac
U be/branches/C.1/firmware/Makefile
U be/branches/C.1/makeopts.in
U be/branches/C.1/sethdlc-new.c
U be/branches/C.1/sethdlc.c
U be/branches/C.1/tor2.c
D be/branches/C.1/tor2ee.c
D be/branches/C.1/wcfxsusb.c
D be/branches/C.1/wcfxsusb.h
U be/branches/C.1/wct4xxp/base.c
U be/branches/C.1/wctc4xxp/base.c
U be/branches/C.1/wctdm.c
U be/branches/C.1/wctdm24xxp/base.c
U be/branches/C.1/wctdm24xxp/wctdm24xxp.h
U be/branches/C.1/wcte11xp.c
U be/branches/C.1/wcte12xp.c
U be/branches/C.1/xpp/.version
U be/branches/C.1/xpp/Changelog_xpp
U be/branches/C.1/xpp/init_card_3_29
U be/branches/C.1/xpp/init_card_4_29
U be/branches/C.1/xpp/utils/genzaptelconf
U be/branches/C.1/xpp/utils/print_modes.c
U be/branches/C.1/xpp/utils/zconf/Zaptel/Chans.pm
U be/branches/C.1/xpp/utils/zconf/Zaptel/Hardware/PCI.pm
U be/branches/C.1/xpp/xpp_zap.c
U be/branches/C.1/zaptel-base.c
U be/branches/C.1/ztdummy.c
U be/branches/C.1/ztmonitor.c
U be/branches/C.1/zttool.c
------------------------------------------------------------------------
r3326 | qwell | 2008-06-07 13:36:40 -0500 (Sat, 07 Jun 2008) | 178 lines
Merged revisions
3170,3185,3189-3190,3195,3198,3202,3206,3211,3216,3218-3221,3223,3226,3233,3242,3244-3245
via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4
................
r3170 | qwell | 2007-10-18 17:56:59 -0500 (Thu, 18 Oct 2007) | 12 lines
Merged revisions 3169 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r3169 | qwell | 2007-10-18 17:56:14 -0500 (Thu, 18 Oct 2007) | 4 lines
Correct the name of the wct4xxp driver.
Issue 11030
........
................
r3185 | tzafrir | 2007-10-26 08:34:04 -0500 (Fri, 26 Oct 2007) | 2 lines
Remove obsolete drivers (replaced by wcusb).
................
r3189 | mattf | 2007-10-26 10:12:24 -0500 (Fri, 26 Oct 2007) | 9 lines
Merged revisions 3188 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r3188 | mattf | 2007-10-26 10:08:37 -0500 (Fri, 26 Oct 2007) | 1 line
Another clock polarity update. To fix garbage audio on some systems with
the wctdm24xxp driver and VPMADT032
........
................
r3190 | tzafrir | 2007-10-26 10:36:05 -0500 (Fri, 26 Oct 2007) | 4 lines
If you depend on anything that is not in /usr/include/zaptel , you must
build with the local zaptel.h . Otherwise you may mix two versions of
Zaptel .
................
r3195 | tzafrir | 2007-10-27 11:33:48 -0500 (Sat, 27 Oct 2007) | 3 lines
Detect SELinux support (for install target) in autoconf.
Can be manually overriden in configure or make.
................
r3198 | tzafrir | 2007-10-28 13:26:04 -0500 (Sun, 28 Oct 2007) | 6 lines
Firmware object file building does not depend anymore on another object
to be linked into the same module.
That dependency existed solely for checking target binary properties in
make_firmware_object . Those properties are now checked in autoconf.
................
r3202 | tzafrir | 2007-10-31 08:10:15 -0500 (Wed, 31 Oct 2007) | 2 lines
Blocking merge of r3201 which is a backport from 1.4 .
................
r3206 | mmichelson | 2007-10-31 16:09:21 -0500 (Wed, 31 Oct 2007) | 13
lines
Merged revisions 3205 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r3205 | mmichelson | 2007-10-31 16:08:15 -0500 (Wed, 31 Oct 2007) | 5
lines
Fixed potential buffer overflow.
See AST-2007-024 for more details
........
................
r3211 | mattf | 2007-11-03 11:23:20 -0500 (Sat, 03 Nov 2007) | 1 line
Major update for tc4xxp driver. Fixes many outstanding issues related to
channel lockups, etc. It also raises the maximum channel count for g.729
to 120 channels.
................
r3216 | mattf | 2007-11-06 15:14:12 -0600 (Tue, 06 Nov 2007) | 9 lines
Merged revisions 3215 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r3215 | mattf | 2007-11-06 15:13:09 -0600 (Tue, 06 Nov 2007) | 1 line
Cross port fxo line voltage monitoring patch from wctdm to wctdm24xxp
........
................
r3218 | tzafrir | 2007-11-07 09:30:30 -0600 (Wed, 07 Nov 2007) | 7 lines
* zaptel-perl, genzaptelconf: Detect and list Rhino cards.
* zaptel-perl: Fix reporting of empty slots in analog Digium cards.
* genzaptelconf: More readable case-s.
Merged revisions 3217 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
................
r3219 | tzafrir | 2007-11-07 09:32:16 -0600 (Wed, 07 Nov 2007) | 2 lines
make_firmware_object is now generated. Ignore it.
................
r3220 | tzafrir | 2007-11-07 14:18:28 -0600 (Wed, 07 Nov 2007) | 3 lines
Don't try to generate bindir and mandir if there are no binaries to
install (this causes an invalid install command).
................
r3221 | tilghman | 2007-11-08 15:48:03 -0600 (Thu, 08 Nov 2007) | 5 lines
Add dependency on newt
Reported by: dimas
Patch by: tilghman
Closes issue http://bugs.digium.com/view.php?id=11199
................
r3223 | tzafrir | 2007-11-10 05:40:00 -0600 (Sat, 10 Nov 2007) | 6 lines
ztmonitor: Get rid of a pointless static buffer and strcpy.
And also give a more useful conversion message.
Merged revisions 3222 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
................
r3226 | tzafrir | 2007-11-10 19:22:57 -0600 (Sat, 10 Nov 2007) | 2 lines
tor2ee doesn't build. Remove it. Closes
http://bugs.digium.com/view.php?id=10278.
................
r3233 | tzafrir | 2007-11-14 09:22:59 -0600 (Wed, 14 Nov 2007) | 8 lines
xpp r5010:
* Fix a deadlock spotted on some SMP installations.
* Improve (reduce) signal attenuation on FXO ports.
* Increase FXS ring detect debounce interval.
Merged revisions 3229-3232 via svnmerge from
http://svn.digium.com/svn/zaptel/branches/1.2
................
r3242 | mattf | 2007-11-21 16:51:25 -0600 (Wed, 21 Nov 2007) | 9 lines
Merged revisions 3241 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r3241 | mattf | 2007-11-21 16:45:32 -0600 (Wed, 21 Nov 2007) | 1 line
Transcoder driver updates. Fixes G.723 no audio issues with latest
drivers
........
................
r3244 | mattf | 2007-11-21 17:52:50 -0600 (Wed, 21 Nov 2007) | 9 lines
Merged revisions 3243 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r3243 | mattf | 2007-11-21 17:51:48 -0600 (Wed, 21 Nov 2007) | 1 line
Add new product support
........
................
r3245 | mattf | 2007-11-21 18:29:11 -0600 (Wed, 21 Nov 2007) | 1 line
Make sure that's disabled until I retest that
................
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=3326
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 13:36 svnbot Note Added: 0088341
======================================================================
More information about the asterisk-bugs
mailing list