[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting dynamic IP code?!



On Wed, Sep 05, 2001 at 12:34:40AM -0400, al3x payne wrote:
> I'm a c novice, so when "gcc -c premium.c" produced the error: 
> "premium.c:28: iostream.h: No such file or directory," I was puzzled.  
> Basically,  I have to get the code pasted below (also available at 
> http://www.dynu.com/files/linux/freebsd/premium.c) working in OpenBSD 
> ASAP.  I assume it's a fairly simple matter, but any tips would be 
> great!

Try reading the instructions next time.

>         Thanks, all.  The code follows...
> 
> 
> //Dynu Premium Dynamic DNS Client v2.0
> //Copyright (c) 1999-2001 Dynu Systems, Inc.
> //All rights reserved.
> //Compile line: g++ premium.c -o dynupremium
> 
> //Source modified to compile under FreeBSD.
> //Paul A. Hoadley <paulh_(_at_)_logicsquad_(_dot_)_net>

0.john.sugar.~% g++ premium.c -o dynupremium
0.john.sugar.~% ./dynupremium 
Dynu Premium Client v2.0

-- 
       John Kerbawy | Anyone who has never made a mistake has never
 john_(_at_)_maKintosh_(_dot_)_com | tried anything new. -- Einstein
         john/EFNet | 



Visit your host, monkey.org