[asterisk-bugs] [Zaptel 0010278]: tor2ee fails to build
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 7 13:32:52 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:32 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:32
----------------------------------------------------------------------
Repository: dahdi
Revision: 3226
U branches/1.4/Makefile
D branches/1.4/tor2ee.c
------------------------------------------------------------------------
r3226 | tzafrir | 2008-06-07 13:32:52 -0500 (Sat, 07 Jun 2008) | 2 lines
tor2ee doesn't build. Remove it. Closes
http://bugs.digium.com/view.php?id=10278.
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=3226
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 13:32 svnbot Checkin
06-07-08 13:32 svnbot Note Added: 0088334
======================================================================
More information about the asterisk-bugs
mailing list