On 2009-07-17, Private Joker <private.jo...@yahoo.com> wrote: > hi, > > i am trying to use logsurfer (package or ports) on a 4.5 amd64 (which is > really a Pentium E2220) and this thing keeps core dumping on me. > > if i try the same version (openbsd/logsurfer) but the i386 architecture is > does work wonders. > > does anyone know what is wrong? > > thanks. > >
logsurfer is not 64-bit clean code. there is a branch, "logsurfer+", and it's not fixed there either. (pkgsrc hasn't fixed it either). regex.c: In function `re_match_2': regex.c:3765: warning: cast from pointer to integer of different size regex.c:3765: warning: cast from pointer to integer of different size regex.c:3771: warning: cast to pointer from integer of different size regex.c:3771: warning: cast to pointer from integer of different size regex.c:3918: warning: cast to pointer from integer of different size regex.c:3918: warning: cast to pointer from integer of different size regex.c:3971: warning: cast to pointer from integer of different size regex.c:3971: warning: cast to pointer from integer of different size regex.c:4077: warning: cast from pointer to integer of different size regex.c:4077: warning: cast from pointer to integer of different size regex.c:4110: warning: cast to pointer from integer of different size regex.c:4110: warning: cast to pointer from integer of different size regex.c:4123: warning: cast to pointer from integer of different size regex.c:4123: warning: cast to pointer from integer of different size regex.c:4291: warning: cast from pointer to integer of different size regex.c:4291: warning: cast from pointer to integer of different size cc -c -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/var/run/logsurfer.dump\" -DCONFFILE=\"/etc/logsurfer.conf\" -I.. -O2 -pipe readline.c readline.c: In function `expand_buf': readline.c:69: warning: cast to pointer from integer of different size readline.c: In function `readline': readline.c:109: warning: cast to pointer from integer of different size readline.c:142: warning: cast to pointer from integer of different size readline.c:162: warning: cast to pointer from integer of different size