Hmmm somewhat false success. It's not routing outside my LAN from my BSD boxen :\
--
Mark Benson
http://markbenson.org/bloghttp://twitter.com/MDBenson
On 29 Nov 2011, at 17:03, Johnny Billquist <bqt at softjar.se> wrote:
On 2011-11-29 17.25, Mark Benson wrote:
Next question is how do I tell it to use libpcap in /usr/pkg/lib ? Or should I symlink the file to /usr/lib ?
Should be something like
LDFLAGS=-L/usr/pkg/lib
my fuzzy brain tells me...
Johnny
Thanks. Worked like a charm once it knew where to look.
I think maybe a more comprehensive Makefile that dies if it can't find libpcap would be useful but not urgent.
--
Mark Benson
http://markbenson.org/bloghttp://twitter.com/MDBenson
On 29 Nov 2011, at 17:03, Johnny Billquist <bqt at softjar.se> wrote:
On 2011-11-29 17.25, Mark Benson wrote:
Next question is how do I tell it to use libpcap in /usr/pkg/lib ? Or should I symlink the file to /usr/lib ?
Should be something like
LDFLAGS=-L/usr/pkg/lib
my fuzzy brain tells me...
Johnny
On 2011-11-29 17.25, Mark Benson wrote:
Next question is how do I tell it to use libpcap in /usr/pkg/lib ? Or should I symlink the file to /usr/lib ?
Should be something like
LDFLAGS=-L/usr/pkg/lib
my fuzzy brain tells me...
Johnny
Apologies -
No offence taken but I believe it's good to stop
misunderstandings ass soon as possible.
As for Ljubljana, I go there almost every week :)
--
Regards, Rok
On 29 Nov 2011, at 15:17, Johnny Billquist <bqt at softjar.se> wrote:
Sorry. I have not really done the full job here.
The cc command takes that switch, but it's not obvious, when using the makefile, how you get that in there.
Depending on your make, and the phase of the moon, and so on, you might get it by doing:
"make CCOPTS=-dDPORT=xxx"
or
"make CCFLAGS=-dDPORT=xxx"
and CCFLAGS might be CFLAGS, and CCOPTS might be COPTS, I just can't remember straight off my head.
but it might be something else as well. You could also just change the makefile to include that flag on the c compile line.
I included it on the 'cc' line but it spat it out.
As a CCFLAG it worked okay.
--
Mark Benson
http://markbenson.org/bloghttp://twitter.com/MDBenson
same situation here, Saku...
From: Saku Set l <setala at gmail.com>
Sender: owner-hecnet at Update.UU.SE
Date: Tue, 29 Nov 2011 17:27:23 +0200
To: <hecnet at update.uu.se>
ReplyTo: hecnet at Update.UU.SE
Subject: Re: [HECnet] Integrating with the Italian network.
Thanks for the compliment ;) Sadly, not enough time to play with all my toys ...
On Mon, Nov 28, 2011 at 16:09, Johnny Billquist <bqt at softjar.se> wrote:
You are as bad as Saku... ;-)
--Saku
Thanks for the compliment ;) Sadly, not enough time to play with all my toys ...
On Mon, Nov 28, 2011 at 16:09, Johnny Billquist <bqt at softjar.se> wrote:
You are as bad as Saku... ;-)
--Saku
On 2011-11-29 16.02, Mark Benson wrote:
Forgive me for being short of brain cells but where does the -dDPORT=xxxx command actually go in?
Sorry. I have not really done the full job here.
The cc command takes that switch, but it's not obvious, when using the makefile, how you get that in there.
Depending on your make, and the phase of the moon, and so on, you might get it by doing:
"make CCOPTS=-dDPORT=xxx"
or
"make CCFLAGS=-dDPORT=xxx"
and CCFLAGS might be CFLAGS, and CCOPTS might be COPTS, I just can't remember straight off my head.
but it might be something else as well. You could also just change the makefile to include that flag on the c compile line.
Johnny