TIP: Click on subject to list as thread! ANSI
echo: filegate
to: Vince Coen
from: Janis Kracht
date: 2016-03-25 16:32:36
subject: New FDN

Hi Vince,

> For your interest here is the o/p from the attempt to compile it under Mageia
> v5 X64 Linux : -

> -----------
> [mbse{at}Applewood a]$ gcc pktdate.c
> pktdate.c:38:6: warning: conflicting types for built-in function 'log'
> void log(int loglevel, const char *fmt, ...);
> ^
> pktdate.c: In function 'process_pkt':
> pktdate.c:152:9: warning: overflow in implicit constant conversion
> [-Woverflow]
> return FATAL_ERROR;
> ^
> pktdate.c:159:9: warning: overflow in implicit constant conversion
> [-Woverflow]
> return FATAL_ERROR;
> ^
> /tmp/ccoDkgoG.o: In function `write_pkt':
>pktdate.c:(.text+0xe5c): warning: the use of `tmpnam' is dangerous, better use
> `mkstemp'

> -----------

> No I don't understand them other than a basic level :(


It compiled here on my linux box.. same warnings as you saw but the compile
did create a file named a.out.

Because there was no makefile, the binary is named a.out here - which runs
on the command like, if you type for example:

./a.out


Pktdate Rev. 1.5, written by Tobias Ernst {at} 2:2476/418 et al.

Error: No arguments given.

Usage:  pktdate [] [ ...] 
[ ...] [...]

I didn't give any arguments, but now that I see them listed, I can rename
a.out to pktdate and go from there.. should work fine.

Take care,
Janis

--- BBBS/Li6 v4.10 Dada-2
* Origin: Prism bbs (1:261/38)
SEEN-BY: 14/5 18/200 19/33 34/999 90/1 116/18 120/331 123/500 128/187 140/1
SEEN-BY: 218/700 222/2 230/150 240/1120 249/303 250/1 261/38 100 266/404
SEEN-BY: 267/155 280/1027 282/1056 292/907 908 320/119 219 340/400 393/68 70
SEEN-BY: 633/267 280 640/384 712/620 848 770/1 801/161
@PATH: 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.