pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2023-11-05T10:13:18Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/8010Pike.identify_cycle doesn't handle declared-only __hash member2023-11-05T10:13:18ZPeter BortasPike.identify_cycle doesn't handle declared-only __hash memberImported from https://youtrack.roxen.com/issue/PIKE-10
Reported by Martin Karlgren <marty@roxen.com>
Pike.identify_cycle throws when a class has a declared, but not defined, __hash member. (Not sure if the problem really is in hash_sva...Imported from https://youtrack.roxen.com/issue/PIKE-10
Reported by Martin Karlgren <marty@roxen.com>
Pike.identify_cycle throws when a class has a declared, but not defined, __hash member. (Not sure if the problem really is in hash_svalue?)
```
> class Foo { mixed bar; int __hash(); }
> class Bar { mixed foo; }
> Foo foo = Foo();
> Bar bar = Bar();
> foo->bar = bar;
(1) Result: HilfeInput()->Bar()
> bar->foo = foo;
(2) Result: HilfeInput()->Foo()
> Pike.identify_cycle(foo);
Calling undefined function.
HilfeInput:1: HilfeInput()->Foo()->__hash()
-:1: __builtin.identify_cycle(HilfeInput()->Foo())
```Pike 8.0https://git.lysator.liu.se/pikelang/pike/-/issues/684Pike on NT busy waits2009-04-16T14:11:39ZPeter BortasPike on NT busy waitsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=684
Reported by Ronald Perrella, BellSouth.COM <ron.perrella@bellsouth.com>
I have noticed that after starting Roxen as a service on NT and
Windows/2000, the pike program...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=684
Reported by Ronald Perrella, BellSouth.COM <ron.perrella@bellsouth.com>
I have noticed that after starting Roxen as a service on NT and
Windows/2000, the pike program starts eating up CPU time. It is not a
large amount but it seems to use time even when the server is getting NO
hits.
In addition, the pike process uses 10mb of RAM. This seems kind of high
but is not important to me.
I am using the Roxen 2.1.135 version (according to the Version file.)Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/1879pike/src/gc.c:73: conflicting types for `my_log2'2009-04-16T14:11:39ZPeter Bortaspike/src/gc.c:73: conflicting types for `my_log2'Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1879
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
This change in Pike/7.0/src/block_alloc.h 2001-07-04:
```
$ cvs di -r 1.19 -r 1.20 src/bloc...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1879
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
This change in Pike/7.0/src/block_alloc.h 2001-07-04:
```
$ cvs di -r 1.19 -r 1.20 src/block_alloc.h | grep my_log2
< extern int my_log2(unsigned INT32 x);
> extern int my_log2(size_t x);
```
gives the compilation error below because my_log2 is declared as
int my_log2(unsigned INT32 x) is stuff.[ch].
```
make[1]: Entering directory
`/home/distmaker/Distmaker/2.1/build/pike.du4.0/build'
Compiling /home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/gc.c
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/gc.c: In function
`init_marker_hash':
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/gc.c:73:
conflicting types for `my_log2'
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/stuff.h:16:
previous declaration of `my_log2'
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/gc.c:73: warning:
extern declaration of `my_log2' doesn't match global one
WARNING: Compiler failure! Trying without optimization!
echo /home/distmaker/Distmaker/2.1/build/pike.du4.0/build/smartlink gcc -I.
-I/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src -DORACLE_DEBUG
-I/home/distmaker/Distmaker/2.1/link/du4.0/include
-I/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src
-I/home/distmaker/Distmaker/2.1/build/pike.du4.0/build -mieee
-DORACLE_DEBUG -I/home/distmaker/Distmaker/2.1/link/du4.0/include
-I/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src
-I/home/distmaker/Distmaker/2.1/build/pike.du4.0/build -W -Wall
-Wpointer-arith -Wno-unused -c
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/gc.c -o gc.o
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/gc.c: In function
`init_marker_hash':
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/gc.c:73:
conflicting types for `my_log2'
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/stuff.h:16:
previous declaration of `my_log2'
/home/distmaker/Distmaker/2.1/build/pike.du4.0/pike/src/gc.c:73: warning:
extern declaration of `my_log2' doesn't match global one
make[1]: *** [gc.o] Error 1
make[1]: Leaving directory
`/home/distmaker/Distmaker/2.1/build/pike.du4.0/build'
make: *** [all] Error 2
```Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3929piketag module crashes on MacOS X2011-02-09T17:34:26ZPeter Bortaspiketag module crashes on MacOS XImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3929
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
According to self test on MacOS X:
```
Failed to compile module
/home/dist/tmp/self-test/roxe...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3929
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
According to self test on MacOS X:
```
Failed to compile module
/home/dist/tmp/self-test/roxen-4.0.349-test-cms-macosx_ppc32.sh/roxen/server-4.0.349/modules/scripting/piketag.pike:
modules/scripting/piketag.pike:197 Error: Index 'hide_whitespaces' not
present in module 'Pike'.
modules/scripting/piketag.pike:197 Error: Index 'tokenize' not present in
module 'Pike'.
modules/scripting/piketag.pike:202 Error: Index 'hide_whitespaces' not
present in module 'Pike'.
modules/scripting/piketag.pike:202 Error: Index 'tokenize' not present in
module 'Pike'.
modules/scripting/piketag.pike:234 Error: Undefined identifier RXML.
modules/scripting/piketag.pike:246 Error: Undefined identifier RXML.
modules/scripting/piketag.pike:260 Error: Undefined identifier Roxen.
modules/scripting/piketag.pike:291 Error: Class definition failed.
modules/scripting/piketag.pike:293 Error: Undefined identifier Roxen.
modules/scripting/piketag.pike:313 Error: Undefined identifier Parser.
modules/scripting/piketag.pike:313 Error: Undefined identifier Parser.
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/8233Pike: Update lib/modules/Search.pmod/Utils.pmod2019-12-10T13:45:31ZPeter BortasPike: Update lib/modules/Search.pmod/Utils.pmodImported from https://youtrack.roxen.com/issue/PIKE-233
Reported by KG Sterneberg <kg@roxen.com>
Replace the 20 empty spaces with 31 empty spaces in the following code:
```
werror(sprintf("%sSearch: %s: %s\n",
" ...Imported from https://youtrack.roxen.com/issue/PIKE-233
Reported by KG Sterneberg <kg@roxen.com>
Replace the 20 empty spaces with 31 empty spaces in the following code:
```
werror(sprintf("%sSearch: %s: %s\n",
" : ",
```https://git.lysator.liu.se/pikelang/pike/-/issues/65Pipe.pipe leaks output objects2009-04-16T14:11:39ZPeter BortasPipe.pipe leaks output objectsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=65
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
Pipe.pipe leaks output objects (cloned from the C-code). This happens in
7.0 and 7.1 but not in 0.6...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=65
Reported by David Hedbor, Idonex / Real Networks <david@hedbor.org>
Pipe.pipe leaks output objects (cloned from the C-code). This happens in
7.0 and 7.1 but not in 0.6. A fix that works (but is theoretically wrong)
is changing ref_push_object to push_object here:
```
943: push_object(obj);
944: apply(o->obj,"set_id",1);
945: pop_stack();
```Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/3928Please forward port 'check for Java in /usr/java/jdk*/jre and /usr/java/j2sdk*'2009-04-16T14:11:39ZPeter BortasPlease forward port 'check for Java in /usr/java/jdk*/jre and /usr/java/j2sdk*'Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3928
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
Index: configure.in
===================================================================
RC...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3928
Reported by Fredrik Noring, Roxen Internet Software <noring@roxen.com>
```
Index: configure.in
===================================================================
RCS file: /cvs/Pike/7.4/src/modules/Java/configure.in,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- configure.in 26 Apr 2004 13:41:26 -0000 1.40
+++ configure.in 27 May 2005 13:49:04 -0000 1.41
@@ -122,7 +122,7 @@
if test "x$JAVA_HOME" = x; then
pike_cv_java_java_home=no
java_home_guess=`"$srcdir/find_java_home.sh"`
- for tmp_java_home in /usr/java /usr/local/java /usr/local/jdk*
/usr/java*/jre /usr/java/jdk*/jre /usr/local/java*/jre /usr/local/jdk*/jre
/usr/local/jre* /usr/local/j2sdk*/jre /usr/local/j2re* "$java_home_guess"
"$pike_java_user_lib_directory"/..; do
+ for tmp_java_home in /usr/java /usr/local/java /usr/local/jdk*
/usr/java*/jre /usr/java/jdk*/jre /usr/java/j2sdk*/jre /usr/local/java*/jre
/usr/local/jdk*/jre /usr/local/jre* /usr/local/j2sdk*/jre /usr/local/j2re*
"$java_home_guess" "$pike_java_user_lib_directory"/..; do
if test -d $tmp_java_home/.; then
if "$LS"
"$tmp_java_home/lib/$pike_cv_java_arch/$pike_cv_java_threads_type"/libjvm*
>/dev/null 2>&1 || \
"$LS" "$tmp_java_home/lib/$pike_cv_java_arch"/libjvm*
>/dev/null 2>&1 || \
@@ -191,7 +191,7 @@
AC_MSG_CHECKING(for the Java include directory)
AC_CACHE_VAL(pike_cv_java_include_dir, [
pike_cv_java_include_dir=no
- for tmp_java_incdir in /usr/java* /usr/local/java* /usr/local/jdk*
/usr/local/jre* /usr/local/j2sdk* "$pike_cv_java_java_home"/../..
"$pike_cv_java_java_home"/.. "$pike_cv_java_java_home"
"$pike_java_user_include_directory"; do
+ for tmp_java_incdir in /usr/java* /usr/local/java* /usr/local/jdk*
/usr/local/jre* /usr/java/j2sdk* /usr/local/j2sdk*
"$pike_cv_java_java_home"/../.. "$pike_cv_java_java_home"/..
"$pike_cv_java_java_home" "$pike_java_user_include_directory"; do
if test -d $tmp_java_incdir/. && "$LS"
"$tmp_java_incdir/include/jni.h" >/dev/null 2>&1 ; then
pike_cv_java_include_dir="$tmp_java_incdir/include"
else
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/626PNG decode coredumps on malformed images2009-04-16T14:11:39ZPeter BortasPNG decode coredumps on malformed imagesImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=626
Reported by Chris Jantzen, Maybe.Net <chris@maybe.net>
On malformed images (specifically from gd), the PNG decode will dump core.
Following patch fixes the issue:
``...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=626
Reported by Chris Jantzen, Maybe.Net <chris@maybe.net>
On malformed images (specifically from gd), the PNG decode will dump core.
Following patch fixes the issue:
```
diff -u -r1.31 png.c
--- src/modules/Image/encodings/png.c 2000/05/07 00:05:10 1.31
+++ src/modules/Image/encodings/png.c 2000/10/28 17:25:22
@@ -791,6 +791,7 @@
if (x)
x--,n--,*(d1++)=ct->u.flat.entries[CUTPLTE(((*s)>>4)&15,mz)].color;
if (x)
x--,n--,*(d1++)=ct->u.flat.entries[CUTPLTE((*s)&15,mz)].color;
s++;
+ if (n<2) break;
if (!x) x=width;
}
else
```
(hope that doesn't get too mangled by netscape)Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/1607Poor ODBC hangs Pike/Roxen2014-07-09T15:45:50ZPeter BortasPoor ODBC hangs Pike/RoxenImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1607
Reported by Toyotomi Hideyoshi, <roxen@asylos.org>
I use an ODBC driver in Windows that is not very good.
When you write certain malformed SQL statements, the driver...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1607
Reported by Toyotomi Hideyoshi, <roxen@asylos.org>
I use an ODBC driver in Windows that is not very good.
When you write certain malformed SQL statements, the driver
will not respond.
I am currently running Coldfusion/IIS and Roxen side by side in evaluation.
I am reporting this as a bug, when perhaps it's more of a feature request.
With the above-mentioned ODBC driver web code with certain SQL errors will
result in the page request endlessly waiting. Coldfusion and Roxen both
exhibit this behaviour. It is fully expected.
However, when you stop trying to load the page Coldfusion will be able to
continue processing other pages (or the same page after you fix your SQL
errors). Roxen on the other hand will not respond to any further requests.
It is still tripping on the ODBC driver I assume. Perhaps a threading
issue.Pike 7.0https://git.lysator.liu.se/pikelang/pike/-/issues/2681Poor random distribution for large integers.2009-04-16T14:11:39ZPeter BortasPoor random distribution for large integers.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2681
Reported by Stefan Wallström <stewa@lysator.liu.se>
for random(x) where x > maxint, mpz_random is used.
http://www.gnu.org/manual/gmp-3.1.1/text/gmp.txt :
- Functio...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2681
Reported by Stefan Wallström <stewa@lysator.liu.se>
for random(x) where x > maxint, mpz_random is used.
http://www.gnu.org/manual/gmp-3.1.1/text/gmp.txt :
- Function: void mpz_random (mpz_t ROP, mp_size_t MAX_SIZE)
Generate a random integer of at most MAX_SIZE limbs. The generated
random number doesn't satisfy any particular requirements of
randomness. Negative random numbers are generated when MAX_SIZE
is negative.
This function is obsolete. Use `mpz_urandomb' or `mpz_urandomm'
instead.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2359possible bug in inherit? illegal to redefine nomask function2009-04-16T14:11:39ZPeter Bortaspossible bug in inherit? illegal to redefine nomask functionImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2359
Reported by Thomas Bopp, Uni-GH Paderborn <astra@upb.de>
There are quite a lot of inherits, I will add the testsuite.
It says the function set_sanction and set_meta_...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2359
Reported by Thomas Bopp, Uni-GH Paderborn <astra@upb.de>
There are quite a lot of inherits, I will add the testsuite.
It says the function set_sanction and set_meta_sanction are
illegal to redefine, even though they are not redefined.Pike 7.4https://git.lysator.liu.se/pikelang/pike/-/issues/2371Possible gc() failure detected2009-04-16T14:11:39ZPeter BortasPossible gc() failure detectedImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2371
Reported by Tomas Nilsson, exRoxen <tomas.nilsson@roxen.com>
Running pike 7.2 from cvs compiled with '--with-dmalloc --without-copt'
There are a lot of reports like...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2371
Reported by Tomas Nilsson, exRoxen <tomas.nilsson@roxen.com>
Running pike 7.2 from cvs compiled with '--with-dmalloc --without-copt'
There are a lot of reports like the following some scrolled away before
these and more after.
```
Possible gc() failure detected
**Location: 15EAAAB4 Type: object Refs: 13
*** \codework\pike\72d\src\mapping.c:218 (1 times)
*** \codework\pike\72d\src\builtin_functions.c:957 (3 times)
*** \codework\pike\72d\src\builtin_functions.c:2034 (2 times)
*** \codework\pike\72d\src\modules\sprintf\sprintf.c:1488 (4 times)
*** \codework\pike\72d\src\interpret_functions.h:73 (5 times)
*** \codework\pike\72d\src\interpret_functions.h:640 (2 times)
*** \codework\pike\72d\src\interpret_functions.h:549 (2 times)
*** \codework\pike\72d\src\mapping.c:781 (2 times)
*** \codework\pike\72d\src\builtin_functions.c:3285 (4 times)
*** \codework\pike\72d\src\builtin_functions.c:3576 (2 times)
*** \codework\pike\72d\src\builtin_functions.c:3578 (2 times)
*** \codework\pike\72d\src\builtin_functions.c:3577 (2 times)
*** \codework\pike\72d\src\array.c:136 (10 times)
*** \codework\pike\72d\src\array.c:177 (4 times)
*** \codework\pike\72d\src\svalue.c:322 (9 times)
*** \codework\pike\72d\src\interpret_functions.h:1291 (8 times)
*** \codework\pike\72d\src\object.c:852 (8 times)
*** \codework\pike\72d\src\object.c:833 (18 times)
*** \codework\pike\72d\src\svalue.c:408 (8 times)
*** \codework\pike\72d\src\interpret.c:1401 (12 times)
*** \codework\pike\72d\src\interpret_functions.h:636 (1 times)
*** \codework\pike\72d\src\interpret_functions.h:164 (9 times)
*** \codework\pike\72d\src\interpret_functions.h:159 (14 times)
*** \codework\pike\72d\src\svalue.c:283 (33 times)
*** \codework\pike\72d\src\interpret.c:1402 (6 times)
*** \codework\pike\72d\src\interpret.c:1401 (1 times)
*** \codework\pike\72d\src\interpret.c:1244 (1 times)
*** \codework\pike\72d\src\interpreter.h:98 (109 times)
*** \codework\pike\72d\src\interpret.c:1186 (21 times)
*** \codework\pike\72d\src\interpret.c:885 (19 times)
*** \codework\pike\72d\src\object.c:212 (1 times)
*** \codework\pike\72d\src\object.c:308 (1 times)
*** h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:169:0 (1
times)
--> h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:169 (1
times)
*** \codework\pike\72d\src\object.c:90 (1 times)
**Parent identifier: 19
**Program id: 65746
**Attempting to describe program object was instantiated from:
**Program id: 65746
**Location: h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:211
**Describing object's parent:
**Location: 02C99604 Type: object Refs: 192
*** \codework\pike\72d\src\interpret.c:1186 (7084 times)
*** \codework\pike\72d\src\object.c:864 (3454 times)
*** \codework\pike\72d\src\object.c:314 (5892 times)
*** \codework\pike\72d\src\object.c:1328 (32 times)
*** \codework\pike\72d\src\queue.c:35 (1733 times)
*** \codework\pike\72d\src\gc.c:1286 (2414 times)
*** \codework\pike\72d\src\queue.c:81 (1896 times)
*** \codework\pike\72d\src\svalue.c:1559 (1896 times)
*** \codework\pike\72d\src\object.c:1458 (51 times)
*** \codework\pike\72d\src\object.c:1417 (123 times)
*** \codework\pike\72d\src\interpret.c:885 (6729 times) !*!
*** \codework\pike\72d\src\object.c:655 (5887 times)
*** \codework\pike\72d\src\svalue.c:283 (2727 times)
*** \codework\pike\72d\src\interpret.c:1402 (888 times)
*** \codework\pike\72d\src\object.c:867 (176 times)
*** \codework\pike\72d\src\array.c:136 (9 times)
*** \codework\pike\72d\src\builtin_functions.c:957 (9 times)
*** \codework\pike\72d\src\object.c:1345 (18 times)
*** \codework\pike\72d\src\svalue.c:1433 (112 times)
*** \codework\pike\72d\src\program.c:3896 (518 times) !*!
*** \codework\pike\72d\src\gc.c:1200 (128 times)
*** \codework\pike\72d\src\svalue.c:1576 (128 times)
*** \codework\pike\72d\src\object.c:1464 (17 times)
*** \codework\pike\72d\src\object.c:1417 (123 times)
*** \codework\pike\72d\src\object.c:1417 (123 times)
*** \codework\pike\72d\src\interpret_functions.h:986 (25 times) !*!
*** \codework\pike\72d\src\object.c:833 (3475 times)
*** language.yacc:1249 (370 times) !*!
*** \codework\pike\72d\src\las.c:1749 (774 times)
*** \codework\pike\72d\src\interpret_functions.h:159 (821 times)
*** \codework\pike\72d\src\mapping.c:1088 (784 times)
*** \codework\pike\72d\src\las.c:698 (774 times)
*** \codework\pike\72d\src\program.c:3092 (103 times)
*** \codework\pike\72d\src\interpret.c:1401 (862 times)
*** \codework\pike\72d\src\builtin_functions.c:1392 (829 times)
*** \codework\pike\72d\src\interpret_functions.h:609 (802 times)
*** \codework\pike\72d\src\interpret.c:1188 (6729 times) !*!
*** \codework\pike\72d\src\interpret.c:1401 (3650 times)
*** \codework\pike\72d\src\las.c:1423 (412 times)
*** \codework\pike\72d\src\las.c:1692 (772 times)
*** \codework\pike\72d\src\builtin_functions.c:3575 (778 times)
*** \codework\pike\72d\src\mapping.c:675 (37 times)
*** \codework\pike\72d\src\opcodes.c:130 (85 times)
*** \codework\pike\72d\src\object.c:878 (173 times)
*** language.yacc:1368 (34 times) !*!
*** \codework\pike\72d\src\opcodes.c:132 (806 times)
*** \codework\pike\72d\src\interpreter.h:98 (7384 times)
*** \codework\pike\72d\src\program.c:2066 (8 times) !*!
*** \codework\pike\72d\src\program.c:1930 (42 times) !*!
*** \codework\pike\72d\src\cpp.c:1214 (13 times) !*!
*** \codework\pike\72d\src\interpret_functions.h:1266 (83 times)
*** \codework\pike\72d\src\interpret_functions.h:631 (17 times)
*** \codework\pike\72d\src\mapping.c:218 (20 times)
*** \codework\pike\72d\src\interpret_functions.h:784 (21 times)
*** \codework\pike\72d\src\interpret_functions.h:785 (20 times)
*** \codework\pike\72d\src\interpret_functions.h:164 (75 times)
*** \codework\pike\72d\src\encode.c:662 (18 times) !*!
*** \codework\pike\72d\src\mapping.c:674 (30 times)
*** \codework\pike\72d\src\object.c:852 (11 times)
*** \codework\pike\72d\src\builtin_functions.c:2034 (83 times)
*** \codework\pike\72d\src\object.c:1448 (30 times)
*** \codework\pike\72d\src\svalue.c:610 (14 times)
*** \codework\pike\72d\src\modules\Gmp\mpz_glue.c:1117 (9 times)
*** \codework\pike\72d\src\interpret.c:885 (7120 times)
*** \codework\pike\72d\src\interpret_functions.h:751 (101 times)
*** \codework\pike\72d\src\mapping.c:217 (4 times)
*** \codework\pike\72d\src\object.c:635 (5 times)
*** \codework\pike\72d\src\interpret_functions.h:1101 (7 times)
*** \codework\pike\72d\src\object.c:981 (7 times)
*** \codework\pike\72d\src\object.c:1282 (2414 times)
*** \codework\pike\72d\src\gc.c:602 (641 times)
*** \codework\pike\72d\src\builtin_functions.c:3285 (9 times)
*** \codework\pike\72d\src\builtin_functions.c:615 (1 times)
*** \codework\pike\72d\src\builtin_functions.c:3509 (1 times) !*!
*** \codework\pike\72d\src\encode.c:784 (4 times) !*!
*** \codework\pike\72d\src\encode.c:772 (4 times) !*!
*** \codework\pike\72d\src\encode.c:689 (2 times) !*!
*** \codework\pike\72d\src\encode.c:602 (2 times)
*** \codework\pike\72d\src\encode.c:684 (2 times) !*!
*** \codework\pike\72d\src\mapping.c:853 (2 times)
*** \codework\pike\72d\src\encode.c:676 (2 times) !*!
*** \codework\pike\72d\src\encode.c:671 (2 times) !*!
*** \codework\pike\72d\src\builtin_functions.c:3282 (2 times)
*** \codework\pike\72d\src\builtin_functions.c:3515 (3 times)
*** \codework\pike\72d\src\builtin_functions.c:628 (7 times)
*** \codework\pike\72d\src\modules\Image\colors.c:979 (2 times)
*** \codework\pike\72d\src\svalue.c:635 (5 times)
*** \codework\pike\72d\src\object.c:949 (812 times)
*** \codework\pike\72d\src\opcodes.c:461 (4 times) !*!
*** \codework\pike\72d\src\interpret_functions.h:696 (8 times)
*** \codework\pike\72d\src\opcodes.c:458 (5 times) !*!
*** \codework\pike\72d\src\interpret_functions.h:636 (16 times)
*** language.yacc:515 (2 times)
*** \codework\pike\72d\src\las.c:4593 (1 times)
*** \codework\pike\72d\src\interpret_functions.h:37 (2 times)
*** \codework\pike\72d\src\program.c:337 (2 times)
*** \codework\pike\72d\src\svalue.c:1412 (1733 times)
*** \codework\pike\72d\src\interpret_functions.h:1291 (7 times)
*** \codework\pike\72d\src\interpret.c:1051 (1 times)
*** \codework\pike\72d\src\interpret.c:1051 (1 times)
*** \codework\pike\72d\src\object.c:281 (1 times)
*** \codework\pike\72d\src\object.c:279 (1 times)
*** \codework\pike\72d\src\object.c:212 (1 times)
*** \codework\pike\72d\src\object.c:277 (1 times)
*** program id:65739 (1 times) !*!
--> h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:1317 (1
times
) !*!
*** \codework\pike\72d\src\object.c:90 (1 times)
**Parent identifier: 0
**Program id: 65739
**Attempting to describe program object was instantiated from:
**Program id: 65739
**Location: h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:1317
**There is no parent (any longer?)
*******************
*******************
Possible gc() failure detected
**Location: 15EAAAB4 Type: object Refs: 13
*** \codework\pike\72d\src\mapping.c:218 (2 times)
*** \codework\pike\72d\src\builtin_functions.c:957 (6 times)
*** \codework\pike\72d\src\builtin_functions.c:2034 (3 times)
*** \codework\pike\72d\src\modules\sprintf\sprintf.c:1488 (7 times)
*** \codework\pike\72d\src\interpret_functions.h:73 (8 times)
*** \codework\pike\72d\src\interpret_functions.h:640 (3 times)
*** \codework\pike\72d\src\interpret_functions.h:549 (3 times)
*** \codework\pike\72d\src\mapping.c:781 (3 times)
*** \codework\pike\72d\src\builtin_functions.c:3285 (6 times)
*** \codework\pike\72d\src\builtin_functions.c:3576 (3 times)
*** \codework\pike\72d\src\builtin_functions.c:3578 (3 times)
*** \codework\pike\72d\src\builtin_functions.c:3577 (3 times)
*** \codework\pike\72d\src\array.c:136 (19 times)
*** \codework\pike\72d\src\array.c:177 (6 times)
*** \codework\pike\72d\src\svalue.c:322 (15 times)
*** \codework\pike\72d\src\interpret_functions.h:1291 (8 times)
*** \codework\pike\72d\src\object.c:852 (8 times)
*** \codework\pike\72d\src\object.c:833 (21 times)
*** \codework\pike\72d\src\svalue.c:408 (8 times)
*** \codework\pike\72d\src\interpret.c:1401 (14 times)
*** \codework\pike\72d\src\interpret_functions.h:636 (1 times)
*** \codework\pike\72d\src\interpret_functions.h:164 (13 times)
*** \codework\pike\72d\src\interpret_functions.h:159 (20 times)
*** \codework\pike\72d\src\svalue.c:283 (55 times)
*** \codework\pike\72d\src\interpret.c:1402 (10 times)
*** \codework\pike\72d\src\interpret.c:1401 (1 times)
*** \codework\pike\72d\src\interpret.c:1244 (1 times)
*** \codework\pike\72d\src\interpreter.h:98 (141 times)
*** \codework\pike\72d\src\interpret.c:1186 (26 times)
*** \codework\pike\72d\src\interpret.c:885 (24 times)
*** \codework\pike\72d\src\object.c:212 (1 times)
*** \codework\pike\72d\src\object.c:308 (1 times)
*** h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:169:0 (1
times)
--> h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:169 (1
times)
*** \codework\pike\72d\src\object.c:90 (1 times)
**Parent identifier: 19
**Program id: 65746
**Attempting to describe program object was instantiated from:
**Program id: 65746
**Location: h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:211
**Describing object's parent:
**Location: 02C99604 Type: object Refs: 192
*** \codework\pike\72d\src\interpret.c:885 (6735 times) !*!
*** \codework\pike\72d\src\interpret.c:1186 (7092 times)
*** \codework\pike\72d\src\object.c:864 (3455 times)
*** \codework\pike\72d\src\object.c:314 (5893 times)
*** \codework\pike\72d\src\object.c:1328 (32 times)
*** \codework\pike\72d\src\queue.c:35 (1733 times)
*** \codework\pike\72d\src\gc.c:1286 (2414 times)
*** \codework\pike\72d\src\queue.c:81 (1896 times)
*** \codework\pike\72d\src\svalue.c:1559 (1896 times)
*** \codework\pike\72d\src\object.c:1458 (51 times)
*** \codework\pike\72d\src\object.c:1417 (123 times)
*** \codework\pike\72d\src\object.c:655 (5888 times)
*** \codework\pike\72d\src\svalue.c:283 (2727 times)
*** \codework\pike\72d\src\interpret.c:1402 (888 times)
*** \codework\pike\72d\src\object.c:867 (176 times)
*** \codework\pike\72d\src\array.c:136 (9 times)
*** \codework\pike\72d\src\builtin_functions.c:957 (9 times)
*** \codework\pike\72d\src\object.c:1345 (18 times)
*** \codework\pike\72d\src\svalue.c:1433 (112 times)
*** \codework\pike\72d\src\program.c:3896 (518 times) !*!
*** \codework\pike\72d\src\gc.c:1200 (128 times)
*** \codework\pike\72d\src\svalue.c:1576 (128 times)
*** \codework\pike\72d\src\object.c:1464 (17 times)
*** \codework\pike\72d\src\object.c:1417 (123 times)
*** \codework\pike\72d\src\object.c:1417 (123 times)
*** \codework\pike\72d\src\interpret_functions.h:986 (25 times) !*!
*** \codework\pike\72d\src\object.c:833 (3476 times)
*** language.yacc:1249 (370 times) !*!
*** \codework\pike\72d\src\las.c:1749 (774 times)
*** \codework\pike\72d\src\interpret_functions.h:159 (821 times)
*** \codework\pike\72d\src\mapping.c:1088 (784 times)
*** \codework\pike\72d\src\las.c:698 (774 times)
*** \codework\pike\72d\src\program.c:3092 (103 times)
*** \codework\pike\72d\src\interpret.c:1401 (862 times)
*** \codework\pike\72d\src\builtin_functions.c:1392 (829 times)
*** \codework\pike\72d\src\interpret_functions.h:609 (802 times)
*** \codework\pike\72d\src\interpret.c:1188 (6735 times) !*!
*** \codework\pike\72d\src\interpret.c:1401 (3651 times)
*** \codework\pike\72d\src\las.c:1423 (412 times)
*** \codework\pike\72d\src\las.c:1692 (772 times)
*** \codework\pike\72d\src\builtin_functions.c:3575 (778 times)
*** \codework\pike\72d\src\mapping.c:675 (37 times)
*** \codework\pike\72d\src\opcodes.c:130 (85 times)
*** \codework\pike\72d\src\object.c:878 (173 times)
*** language.yacc:1368 (34 times) !*!
*** \codework\pike\72d\src\opcodes.c:132 (806 times)
*** \codework\pike\72d\src\interpreter.h:98 (7421 times)
*** \codework\pike\72d\src\program.c:2066 (8 times) !*!
*** \codework\pike\72d\src\program.c:1930 (42 times) !*!
*** \codework\pike\72d\src\cpp.c:1214 (13 times) !*!
*** \codework\pike\72d\src\interpret_functions.h:1266 (83 times)
*** \codework\pike\72d\src\interpret_functions.h:631 (17 times)
*** \codework\pike\72d\src\mapping.c:218 (20 times)
*** \codework\pike\72d\src\interpret_functions.h:784 (21 times)
*** \codework\pike\72d\src\interpret_functions.h:785 (20 times)
*** \codework\pike\72d\src\interpret_functions.h:164 (75 times)
*** \codework\pike\72d\src\encode.c:662 (18 times) !*!
*** \codework\pike\72d\src\mapping.c:674 (30 times)
*** \codework\pike\72d\src\object.c:852 (11 times)
*** \codework\pike\72d\src\builtin_functions.c:2034 (83 times)
*** \codework\pike\72d\src\object.c:1448 (30 times)
*** \codework\pike\72d\src\svalue.c:610 (14 times)
*** \codework\pike\72d\src\modules\Gmp\mpz_glue.c:1117 (9 times)
*** \codework\pike\72d\src\interpret.c:885 (7128 times)
*** \codework\pike\72d\src\interpret_functions.h:751 (101 times)
*** \codework\pike\72d\src\mapping.c:217 (4 times)
*** \codework\pike\72d\src\object.c:635 (5 times)
*** \codework\pike\72d\src\interpret_functions.h:1101 (7 times)
*** \codework\pike\72d\src\object.c:981 (7 times)
*** \codework\pike\72d\src\object.c:1282 (2414 times)
*** \codework\pike\72d\src\gc.c:602 (641 times)
*** \codework\pike\72d\src\builtin_functions.c:3285 (9 times)
*** \codework\pike\72d\src\builtin_functions.c:615 (1 times)
*** \codework\pike\72d\src\builtin_functions.c:3509 (1 times) !*!
*** \codework\pike\72d\src\encode.c:784 (4 times) !*!
*** \codework\pike\72d\src\encode.c:772 (4 times) !*!
*** \codework\pike\72d\src\encode.c:689 (2 times) !*!
*** \codework\pike\72d\src\encode.c:602 (2 times)
*** \codework\pike\72d\src\encode.c:684 (2 times) !*!
*** \codework\pike\72d\src\mapping.c:853 (2 times)
*** \codework\pike\72d\src\encode.c:676 (2 times) !*!
*** \codework\pike\72d\src\encode.c:671 (2 times) !*!
*** \codework\pike\72d\src\builtin_functions.c:3282 (2 times)
*** \codework\pike\72d\src\builtin_functions.c:3515 (3 times)
*** \codework\pike\72d\src\builtin_functions.c:628 (7 times)
*** \codework\pike\72d\src\modules\Image\colors.c:979 (2 times)
*** \codework\pike\72d\src\svalue.c:635 (5 times)
*** \codework\pike\72d\src\object.c:949 (812 times)
*** \codework\pike\72d\src\opcodes.c:461 (4 times) !*!
*** \codework\pike\72d\src\interpret_functions.h:696 (8 times)
*** \codework\pike\72d\src\opcodes.c:458 (5 times) !*!
*** \codework\pike\72d\src\interpret_functions.h:636 (16 times)
*** language.yacc:515 (2 times)
*** \codework\pike\72d\src\las.c:4593 (1 times)
*** \codework\pike\72d\src\interpret_functions.h:37 (2 times)
*** \codework\pike\72d\src\program.c:337 (2 times)
*** \codework\pike\72d\src\svalue.c:1412 (1733 times)
*** \codework\pike\72d\src\interpret_functions.h:1291 (7 times)
*** \codework\pike\72d\src\interpret.c:1051 (1 times)
*** \codework\pike\72d\src\interpret.c:1051 (1 times)
*** \codework\pike\72d\src\object.c:281 (1 times)
*** \codework\pike\72d\src\object.c:279 (1 times)
*** \codework\pike\72d\src\object.c:212 (1 times)
*** \codework\pike\72d\src\object.c:277 (1 times)
*** program id:65739 (1 times) !*!
--> h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:1317 (1
times
) !*!
*** \codework\pike\72d\src\object.c:90 (1 times)
**Parent identifier: 0
**Program id: 65739
**Attempting to describe program object was instantiated from:
**Program id: 65739
**Location: h:/codework/pike/72d/lib/modules/Stdio.pmod/module.pmod:1317
**There is no parent (any longer?)
*******************
*******************
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2505Postgres 7.1 has changed name of one include file2009-11-17T16:03:30ZPeter BortasPostgres 7.1 has changed name of one include fileImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2505
Reported by Petter Larsson <petterl@home.se>
In Postgres 7.1 they seam to have shanged the name of the includefile
postgres.h to postgres_fe.h
```
By changing linge...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2505
Reported by Petter Larsson <petterl@home.se>
In Postgres 7.1 they seam to have shanged the name of the includefile
postgres.h to postgres_fe.h
```
By changing linge 34 in
pike/7.0/src/modules/Postgres/postgres.c
to
#include <postgres_fe.h>
```
or making a symlink from postgres.h to postgres_fe.h works fine.Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3141Postgres doesn't autoquote properly2009-04-16T14:11:39ZPeter BortasPostgres doesn't autoquote properlyImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3141
Reported by Stephen R. van den Berg, Cubic Circle <srb@cuci.nl>
One argument missing in emulate_bindings
```
--- postgres.pike.old Tue Jun 11 09:45:35 2002
+++ po...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3141
Reported by Stephen R. van den Berg, Cubic Circle <srb@cuci.nl>
One argument missing in emulate_bindings
```
--- postgres.pike.old Tue Jun 11 09:45:35 2002
+++ postgres.pike Tue Jun 11 09:44:42 2002
@@ -131,7 +131,7 @@
{
if (!bindings)
return ::big_query(q);
- return ::big_query(.sql_util.emulate_bindings(q,bindings));
+ return
::big_query(.sql_util.emulate_bindings(q,bindings,this_object()));
}
```
#else /* !constant(Postgres.postgres) */Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/1686Postgres/generic SQL2015-02-27T16:54:24ZPeter BortasPostgres/generic SQLImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1686
Reported by Gabor Medve, home <macigabi@yahoo.com>
The same problem as in the bug no. 1310 on another platform/OS. I've tried
it with PostgreSQL 7.0.2 and 7.1.0. I'v...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1686
Reported by Gabor Medve, home <macigabi@yahoo.com>
The same problem as in the bug no. 1310 on another platform/OS. I've tried
it with PostgreSQL 7.0.2 and 7.1.0. I've tried to use Sql(), Sql.sql(),
Sql.postgres() and Postgres.postgres() to connect to the database but I
couldn't. The error msg was the same as in the bug no. 1310 exept when I
tried the other methods I got an error msg of big_query(). Sorry for
disturbing in the case you know already this problem.Pike 7.2https://git.lysator.liu.se/pikelang/pike/-/issues/3942Postgres information outdated/inaccurate (patch included)2011-02-09T14:21:46ZPeter BortasPostgres information outdated/inaccurate (patch included)Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3942
Reported by Adam Montague, Sirius Hosting <amontague@siriushosting.com>
This patch fixes the following issues with the postgres info:
postgresql is not particularly ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3942
Reported by Adam Montague, Sirius Hosting <amontague@siriushosting.com>
This patch fixes the following issues with the postgres info:
postgresql is not particularly slow
username and password are not ignored when connecting
you always have a db selected with postgres, so you don't have to worry
about it throwing exceptions if you didn't select a db
and the environment variable information has been updatedPike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/1840postgresql 7 detection2009-04-16T14:11:39ZPeter Bortaspostgresql 7 detectionImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1840
Reported by Kai Voigt, 123.org <k@123.org>
Hi,
Pike's configure requires postgres.h to be installed to detect
PostgreSQL 7 successfully. postgres.h only gets insta...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1840
Reported by Kai Voigt, 123.org <k@123.org>
Hi,
Pike's configure requires postgres.h to be installed to detect
PostgreSQL 7 successfully. postgres.h only gets installed when
doing a "make install-all-headers" in the postgresql source.
But this is not required for linking with the libraries.
Here's some mail from the FreeBSD port maintainer of PostgreSQL.
```
----------------------------------------------------------------
Date: Tue, 26 Jun 2001 17:47:21 +0200
From: Palle Girgensohn <girgen@partitur.se>
To: Kai Voigt <k@123.org>
Subject: Re: postgresql7 port of FreeBSD: make install-all-headers
```
Kai Voigt wrote:
>
> Hi,
>
> I wanted to install Roxen Webserver, a swedisch webserver with postgresql
> support. But its configure script was not able to find anything
important
> of your postgresql port on my FreeBSD system.
>
> postgres.h was not installed, which is the case when only "make install"
> is called, not "make install-all-headers".
postgres.h is not needed for anything else than building
postgresql itself. The dependency on postgres.h in Roxen is
false. Jhust remove any occurrence of #include <postgres.h> and
it will compile fine.
```
postgres.h was previously installed by postgres, but for no
good at all. some packages, like Roxen, have just added
#include <postgres.h> without checking if this is really
needed. It isn't.
```
/Palle
----------------------------------------------------------------Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3107Postgresql-module doesn't return error2015-02-27T16:51:22ZPeter BortasPostgresql-module doesn't return errorImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3107
Reported by Petter Larsson <petterl@home.se>
When you get an error in a Postgresql big_query(), the only error returned
is:
Error in frontend-backkend communication...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3107
Reported by Petter Larsson <petterl@home.se>
When you get an error in a Postgresql big_query(), the only error returned
is:
Error in frontend-backkend communications and a backtrace.
It would be more interesting to get the error from Postgresql, which will
tell you what went wrong.
A patch like below should fix that:
```
Index: postgres.c
===================================================================
RCS file: /cvs/Pike/7.3/src/modules/Postgres/postgres.c,v
retrieving revision 1.25
diff -r1.25 postgres.c
431a432,433
> char *err;
>
500a503
> err = PQresultErrorMessage(res);
502c505
< Pike_error ("Error in frontend-backend
communications.\n");
---
> Pike_error ("Postgresql error: %s",err);
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/1132Post modules does not work when doing static linking2013-08-29T14:21:46ZPeter BortasPost modules does not work when doing static linkingImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1132
Reported by Per Hedbor, Idonex <per@roxen.com>
The post modules (GL GTK and GLUT) does not work if pike is compiled with
static linking.
The post_modules/linker_opt...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1132
Reported by Per Hedbor, Idonex <per@roxen.com>
The post modules (GL GTK and GLUT) does not work if pike is compiled with
static linking.
The post_modules/linker_options is not included in the ld command options,
and the file in question contains illegal data.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2665Post modules don't compile on MacOS X 10.1.x2009-04-16T14:11:39ZPeter BortasPost modules don't compile on MacOS X 10.1.xImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2665
Reported by @grubba
From the pike@roxen.com mailinglist:
```
From: Bill Welliver <hww3@riverweb.com>
To: "pike@roxen.com" <pike@roxen.com>
Date: Sun, 6 Jan 2002 14:...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2665
Reported by @grubba
From the pike@roxen.com mailinglist:
```
From: Bill Welliver <hww3@riverweb.com>
To: "pike@roxen.com" <pike@roxen.com>
Date: Sun, 6 Jan 2002 14:56:18 -0500
Subject: Pike and MacOS X 10.1.x
```
The other problems are in the post_modules: I don't have GL, but
configure doesn't seem to remove GL or GLUT from the lists of modules to
build. The build process doesn't seem to like my GTK installation
either, as I get a whole bunch of errors similar to this:
```
Compiling pgtk_1.c
./gdkeventstrings.h:1: warning: nondigits in number and not hexadecimal
./gdkeventstrings.h:1: warning: garbage at end of number
./gdkeventstrings.h:1: illegal external declaration, missing `;' after
`s_2button'
./gdkeventstrings.h:2: warning: nondigits in number and not hexadecimal
./gdkeventstrings.h:2: warning: garbage at end of number
./gdkeventstrings.h:2: illegal external declaration, missing `;' after
`s_3button'
./gdkeventstrings.h:1: warning: nondigits in number and not hexadecimal
./gdkeventstrings.h:1: warning: garbage at end of number
./gdkeventstrings.h:1: illegal statement, missing `;' after `s_2button'
./gdkeventstrings.h:2: warning: nondigits in number and not hexadecimal
./gdkeventstrings.h:2: warning: garbage at end of number
./gdkeventstrings.h:2: illegal statement, missing `;' after `s_3button'
pgtk_1.c:84: warning: nondigits in number and not hexadecimal
pgtk_1.c:84: warning: garbage at end of number
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:84:
syntax error, missing `;' after `s_2button'
pgtk_1.c:86: warning: nondigits in number and not hexadecimal
pgtk_1.c:86: warning: garbage at end of number
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:86:
syntax error, missing `;' after `s_3button'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:13:
./gdkeventstrings.h:1: parse error before `_press'
./gdkeventstrings.h:1: warning: data definition has no type or storage
class
./gdkeventstrings.h:2: parse error before `_press'
./gdkeventstrings.h:2: warning: data definition has no type or storage
class
In file included from
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:19:
./gdkeventstrings.h: In function `define_gdkeventstrings':
./gdkeventstrings.h:1: `s_2button' undeclared (first use in this
function)
./gdkeventstrings.h:1: (Each undeclared identifier is reported only once
./gdkeventstrings.h:1: for each function it appears in.)
./gdkeventstrings.h:1: parse error before `_press'
./gdkeventstrings.h:2: `s_3button' undeclared (first use in this
function)
./gdkeventstrings.h:2: parse error before `_press'
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:
In function `pgdk_event__index':
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:84:
`s_2button' undeclared (first use in this function)
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:84:
parse error before `_press'
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:86:
`s_3button' undeclared (first use in this function)
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:86:
parse error before `_press'
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:
In function `pgdk_event_cast':
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:288:
`s_2button_press' undeclared (first use in this function)
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:291:
`s_3button_press' undeclared (first use in this function)
WARNING: Compiler failure! Trying without optimization!
/Users/hww3/Desktop/Pike/src/smartlink cc -I.
-I/Users/hww3/Desktop/Pike/src/post_modules/GTK
-I/Users/hww3/Desktop/Pike/src/post_modules/GTK/../.. -I../.. -I.
-I/usr/local/include -I/sw/include -I/usr/X11R6/include
-I/Users/hww3/Desktop/Pike/src -I/usr/local/include -I/sw/include
-I/usr/X11R6/include -I/Users/hww3/Desktop/Pike/src -fPIC
-DDYNAMIC_MODULE -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2
-I/sw/lib/glib/include -I/usr/X11R6/include -I/sw/include
-DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include
-I/sw/include/gnome-xml -I/sw/include -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -c
pgtk_1.c -o pgtk_1.o
./gdkeventstrings.h:1: warning: nondigits in number and not hexadecimal
./gdkeventstrings.h:1: warning: garbage at end of number
./gdkeventstrings.h:1: illegal external declaration, missing `;' after
`s_2button'
./gdkeventstrings.h:2: warning: nondigits in number and not hexadecimal
./gdkeventstrings.h:2: warning: garbage at end of number
./gdkeventstrings.h:2: illegal external declaration, missing `;' after
`s_3button'
./gdkeventstrings.h:1: warning: nondigits in number and not hexadecimal
./gdkeventstrings.h:1: warning: garbage at end of number
./gdkeventstrings.h:1: illegal statement, missing `;' after `s_2button'
./gdkeventstrings.h:2: warning: nondigits in number and not hexadecimal
./gdkeventstrings.h:2: warning: garbage at end of number
./gdkeventstrings.h:2: illegal statement, missing `;' after `s_3button'
pgtk_1.c:84: warning: nondigits in number and not hexadecimal
pgtk_1.c:84: warning: garbage at end of number
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:84:
syntax error, missing `;' after `s_2button'
pgtk_1.c:86: warning: nondigits in number and not hexadecimal
pgtk_1.c:86: warning: garbage at end of number
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:86:
syntax error, missing `;' after `s_3button'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:13:
./gdkeventstrings.h:1: parse error before `_press'
./gdkeventstrings.h:1: warning: data definition has no type or storage
class
./gdkeventstrings.h:2: parse error before `_press'
./gdkeventstrings.h:2: warning: data definition has no type or storage
class
In file included from
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:19:
./gdkeventstrings.h: In function `define_gdkeventstrings':
./gdkeventstrings.h:1: `s_2button' undeclared (first use in this
function)
./gdkeventstrings.h:1: (Each undeclared identifier is reported only once
./gdkeventstrings.h:1: for each function it appears in.)
./gdkeventstrings.h:1: parse error before `_press'
./gdkeventstrings.h:2: `s_3button' undeclared (first use in this
function)
./gdkeventstrings.h:2: parse error before `_press'
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:
In function `pgdk_event__index':
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:84:
`s_2button' undeclared (first use in this function)
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:84:
parse error before `_press'
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:86:
`s_3button' undeclared (first use in this function)
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:86:
parse error before `_press'
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:
In function `pgdk_event_cast':
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:288:
`s_2button_press' undeclared (first use in this function)
/Users/hww3/Desktop/Pike/src/post_modules/GTK/source/gdkevent.pre:291:
`s_3button_press' undeclared (first use in this function)
make[2]: *** [pgtk_1.o] Error 1
make[1]: *** [compile1] Error 2
make: *** [GTK] Error 1
```
I didn't feel like diving into that mess at the time, so I decided to
ignore it for the time being. Any suggestions that might help figure out
this particular set of errors would be greatly appreciated. I removed
GL, GLUT and GTK from the list of post_modules in
src/post_modules/Makefile, leaving only Unicode.
Having done all of this, pike seems to compile and install properly.
I've posted my diffs for getting Caudium to compile on a the
caudium.general newsgroup.
Best regards,
Bill Welliver
hww3@riverweb.comPike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbström