]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2007/005561.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2007 / 005561.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] ircservices 5.1.x compile error
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20ircservices%205.1.x%20compile%20error&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="005557.html">
11 <LINK REL="Next" HREF="005562.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] ircservices 5.1.x compile error</H1>
15 <B>Jarrod Frates</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20ircservices%205.1.x%20compile%20error&In-Reply-To="
17 TITLE="[IRCServices] ircservices 5.1.x compile error">jfrates at gmail.com
18 </A><BR>
19 <I>Tue Nov 20 19:55:41 PST 2007</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="005557.html">Re: [IRCServices] problem importing databases
22 </A></li>
23 <LI>Next message: <A HREF="005562.html">[IRCServices] ircservices 5.1.x compile error
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#5561">[ date ]</a>
27 <a href="thread.html#5561">[ thread ]</a>
28 <a href="subject.html#5561">[ subject ]</a>
29 <a href="author.html#5561">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>On CentOS 4.5 x86_64, I can't get anything in the 5.1.x line to
35 compile (tried .0, .5, .6, .7, and .8), even though 5.0.62 compiles
36 just fine. This was attempted using make 3.80 and gcc 3.4.6 and gcc
37 4.1.1.
38
39 Here are the outputs from configure and make:
40
41 [<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">user at server</A> ircservices-5.1.8]# ./configure
42
43 Beginning IRC Services configuration.
44
45 Executable (program) files will be installed in /usr/local/sbin
46 Data files will be installed in /usr/local/lib/ircservices
47 Checking sanity of /bin/sh... high.
48 Searching for a suitable compiler... great, found gcc!
49 Testing default compiler flags (-O2 -fno-strict-aliasing)... looks good.
50 Let's see what libraries we need... -lm -lcrypt
51 Checking whether we can use dynamic modules... no.
52 Checking whether ranlib exists... yes.
53 Checking for presence of include files (it's okay if some aren't there):
54 stdint.h... present
55 strings.h... present
56 sys/select.h... present
57 sys/sysproto.h... not present
58 Looking for an 8-bit integer type... int8_t
59 Looking for a 16-bit integer type... int16_t
60 Looking for a 32-bit integer type... int32_t
61 Looking for a 64-bit integer type... int64_t
62 Checking the size of int... 32 bits
63 Checking the size of long... 64 bits
64 Checking the size of pointers... 64 bits
65 Checking the size of time_t... 64 bits (nifty!)
66 Checking the size of gid_t... 32 bits
67 Checking for socklen_t... present.
68 Seeing if your system defines int16/int32... not found (this is good).
69 How to complain when something goes wrong... ah, strerror() is here.
70 Looking for other functions we want that you don't have...
71 Checking how to install files... looks like &quot;install&quot; will work.
72 Seeing if &quot;install&quot; will create directories... OK.
73 Checking how to copy directories... /bin/cp -dpr
74 Creating config.h... done.
75 Creating Makefile.inc... done.
76 Saving configuration results in config.cache... done.
77
78 All done! Now edit defs.h as needed, and run &quot;make&quot; (or possibly &quot;gmake&quot;)
79 to compile Services. See the README and FAQ if you have any problems.
80
81 [<A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">user at server</A> ircservices-5.1.8]# make
82 touch services.h
83 make -C lang langstrs.h
84 make[1]: Entering directory `/root/download/working/ircservices-5.1.8/lang'
85 perl make-langstrs-h.pl &gt;langstrs.h.new
86 Generating langstrs.h... 1240 strings
87 langstrs.h unchanged
88 make[1]: Leaving directory `/root/download/working/ircservices-5.1.8/lang'
89 cp -p lang/langstrs.h .
90 touch language.h
91 gcc -DSTATIC_MODULES -O2 -fno-strict-aliasing -g -Wall
92 -Wmissing-prototypes -c actions.c -o actions.o
93 In file included from services.h:78,
94 from actions.c:10:
95 sockets.h:141: error: syntax error before &quot;per_conn&quot;
96 sockets.h:154: error: syntax error before &quot;read_buffer_len&quot;
97 sockets.h:154: warning: type defaults to `int' in declaration of
98 `read_buffer_len'
99 sockets.h:154: warning: data definition has no type or storage class
100 sockets.h:155: error: syntax error before &quot;write_buffer_len&quot;
101 sockets.h:155: warning: type defaults to `int' in declaration of
102 `write_buffer_len'
103 sockets.h:155: warning: data definition has no type or storage class
104 sockets.h:156: error: syntax error before &quot;uint64_t&quot;
105 sockets.h:157: error: syntax error before &quot;uint32_t&quot;
106 In file included from services.h:79,
107 from actions.c:10:
108 send.h:19: error: syntax error before &quot;protocol_features&quot;
109 send.h:19: warning: type defaults to `int' in declaration of `protocol_features'
110 send.h:19: warning: data definition has no type or storage class
111 In file included from services.h:80,
112 from actions.c:10:
113 modes.h:29: error: syntax error before &quot;uint8_t&quot;
114 modes.h:29: warning: no semicolon at end of struct or union
115 modes.h:30: warning: type defaults to `int' in declaration of `minus_params'
116 modes.h:30: warning: data definition has no type or storage class
117 modes.h:32: error: syntax error before &quot;info&quot;
118 modes.h:32: warning: type defaults to `int' in declaration of `info'
119 modes.h:32: warning: data definition has no type or storage class
120 modes.h:33: warning: type defaults to `int' in declaration of `ModeData'
121 modes.h:33: warning: data definition has no type or storage class
122 modes.h:56: error: syntax error before &quot;usermodes&quot;
123 modes.h:56: warning: type defaults to `int' in declaration of `usermodes'
124 modes.h:56: warning: type defaults to `int' in declaration of `chanmodes'
125 modes.h:56: warning: type defaults to `int' in declaration of `chanusermodes'
126 modes.h:56: warning: data definition has no type or storage class
127 In file included from services.h:81,
128 from actions.c:10:
129 users.h:37: error: syntax error before &quot;uint32_t&quot;
130 users.h:37: warning: no semicolon at end of struct or union
131 users.h:42: error: syntax error before &quot;lastcmd&quot;
132 users.h:42: warning: type defaults to `int' in declaration of `lastcmd'
133 users.h:42: warning: data definition has no type or storage class
134 users.h:52: error: syntax error before '*' token
135 users.h:52: warning: type defaults to `int' in declaration of `id_nicks'
136 users.h:52: warning: data definition has no type or storage class
137 users.h:64: error: syntax error before '}' token
138 In file included from services.h:85,
139 from actions.c:10:
140 extern.h:154: error: syntax error before &quot;uint32_t&quot;
141 extern.h:230: error: syntax error before &quot;time_msec&quot;
142 extern.h:230: warning: type defaults to `int' in declaration of `time_msec'
143 extern.h:230: warning: data definition has no type or storage class
144 extern.h:234: error: syntax error before '*' token
145 extern.h:234: warning: type defaults to `int' in declaration of `pack_ip'
146 extern.h:234: warning: data definition has no type or storage class
147 extern.h:235: warning: type defaults to `int' in declaration of `uint8_t'
148 extern.h:235: error: syntax error before '*' token
149 extern.h:236: error: syntax error before '*' token
150 extern.h:236: warning: type defaults to `int' in declaration of `pack_ip6'
151 extern.h:236: warning: data definition has no type or storage class
152 extern.h:237: warning: type defaults to `int' in declaration of `uint8_t'
153 extern.h:237: error: syntax error before '*' token
154 In file included from actions.c:13:
155 timeout.h:46: error: syntax error before &quot;delay&quot;
156 timeout.h:46: error: `add_timeout_ms' declared as function returning a function
157 timeout.h:47: error: syntax error before &quot;int&quot;
158 actions.c: In function `bad_password':
159 actions.c:67: error: dereferencing pointer to incomplete type
160 actions.c:68: error: dereferencing pointer to incomplete type
161 actions.c:69: error: dereferencing pointer to incomplete type
162 actions.c:70: error: dereferencing pointer to incomplete type
163 actions.c:71: error: dereferencing pointer to incomplete type
164 actions.c:72: error: dereferencing pointer to incomplete type
165 actions.c:75: error: dereferencing pointer to incomplete type
166 actions.c:77: error: dereferencing pointer to incomplete type
167 actions.c: In function `clear_umodes':
168 actions.c:172: error: dereferencing pointer to incomplete type
169 actions.c: In function `clear_users':
170 actions.c:194: error: dereferencing pointer to incomplete type
171 actions.c: In function `set_cmode':
172 actions.c:478: warning: assignment makes pointer from integer without a cast
173 make: *** [actions.o] Error 1
174
175
176 Jarrod
177 </PRE>
178
179
180 <!--endarticle-->
181 <HR>
182 <P><UL>
183 <!--threads-->
184 <LI>Previous message: <A HREF="005557.html">Re: [IRCServices] problem importing databases
185 </A></li>
186 <LI>Next message: <A HREF="005562.html">[IRCServices] ircservices 5.1.x compile error
187 </A></li>
188 <LI> <B>Messages sorted by:</B>
189 <a href="date.html#5561">[ date ]</a>
190 <a href="thread.html#5561">[ thread ]</a>
191 <a href="subject.html#5561">[ subject ]</a>
192 <a href="author.html#5561">[ author ]</a>
193 </LI>
194 </UL>
195
196 </body></html>