trafshow 3.1

Find out how to get that @*&^$&@ thing to compile!

trafshow 3.1

Postby <sAMANOSKe> » Thu Oct 31, 2002 5:52 pm

this beauty wont run under 10.2.

Error is
dyld: trafshow Undefined symbols
_COLS
_LINES
_stdscr
Trace/BPT trap

and, yes I am running it ass root and it worked under 10.x.x. Any1 an idea !?
<sAMANOSKe>
 

Re: trafshow 3.1

Postby apex » Sat Dec 07, 2002 8:59 am

It looks like you need to install ncurses.
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: trafshow 3.1

Postby DMCrimson » Tue Dec 10, 2002 10:04 am

hmm, could you post some sort of HOW-TO on compiling this?
DMCrimson
 
Posts: 13
Joined: Mon Sep 09, 2002 7:00 pm
Location: Finland

Re: trafshow 3.1

Postby quietplease » Fri Jan 31, 2003 11:08 pm

has anyone had any success running this under OS X 10.2.3? i get the same dyld: errors (_COLS _LINES _stdscr are undefined). that's running the package downloaded from forked.net. mumble re-link against ncurses mumble mumble, but where would i find the source for the pkg on forked.net?
quietplease
 
Posts: 1
Joined: Thu Jan 30, 2003 8:00 pm

Re: trafshow 3.1

Postby <xpi> » Tue Apr 29, 2003 8:14 pm

So first get the package.. Because you can't wait for the workaround in the configure programs.
trafshow-3.1: ./configure Darwin ; make

It'll complain about u_char, I'm guessing those crazy russian meant unsigned int so put this in darwin.h cat - > darwin.h
#ifndef _mdarwin

#define _mdarwin
#define u_char unsigned char

#endif

ctrl-d

and then add this to config.h
#include "darwin.h"

then viola, But I would not trust the installer; yet. So manually copy the binary and manual page.
make;
mkdir -p /usr/local/sbin
cp trafshow /usr/local/sbin/
mkdir -p /usr/local/man/man1
cp trafshow.1 /usr/local/man/man1
<xpi>
 

Re: trafshow 3.1

Postby <Tim Haigh> » Sat Dec 27, 2003 2:11 pm

trafshow 4.0 builds just fine without any modifications on darwin 7.2 and OSX 10.3.2.


just make sure you have libpcap and ncurses installed on your system.

ftp://ftp.nsk.su/pub/RinetSoft/trafshow-4.0.tgz
<Tim Haigh>
 

Re: trafshow 3.1

Postby <Tim Haigh> » Sat Dec 27, 2003 2:45 pm

Please note I did not trust the installer I manually installed the binary and man file.

by default trafshow will try and install a config file in /etc/trafshow this may break OSX as the path should be /private/etc
<Tim Haigh>
 


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 4 guests

cron