🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: apana.lists.os.linux.admin
Article #3

problem with packet.h

#3
From: alex
Date: Sat, 09 Nov 2002 09:40
16 lines
2010 bytes
I am trying to compile a programme that uses the library packet.h and I'm
taking the answer:

make: *** No rule to make target `/packet.o', needed by `crc'.  Stop.

ampartza@alkystis> gcc crc32.c -o crc
crc32.c: In function `main':
crc32.c:140: warning: assignment makes pointer from integer without a cast
/tmp/ccXTs945.o: In function `main':
/tmp/ccXTs945.o(.text+0x111): undefined reference to `get_next_packet'
/tmp/ccXTs945.o(.text+0x123): undefined reference to `packet_size'
collect2: ld returned 1 exit status

It probably has to do with the linker. Any ideas....

Send your answers to ampartza@ee.duth.gr or gpouikli@ee.duth.gr
Technical Details
Message-ID: <aqiklr$lt1$1@nic.grnet.gr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-ge.switch.ch!news.grnet.gr!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc5ec,5654826f46e5db47,start
X-Google-Attributes: gidfc5ec,public
X-Google-Thread: f99bc,5654826f46e5db47,start
X-Google-Attributes: gidf99bc,public
X-Google-Thread: 100df9,5654826f46e5db47,start
X-Google-Attributes: gid100df9,public
X-Google-Thread: 10669a,5654826f46e5db47,start
X-Google-Attributes: gid10669a,public
X-Google-Thread: 111b49,5654826f46e5db47,start
X-Google-Attributes: gid111b49,public
X-Google-ArrivalTime: 2002-11-09 01:31:41 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-ge.switch.ch!news.grnet.gr!not-for-mail
From: "alex" <ampartza@ee.duth.gr>
Newsgroups: apana.lists.os.linux.admin,apana.lists.os.linux.kernel,comp.os.linux.admin,comp.os.linux.networking,fa.linux.kernel
Subject: problem with packet.h
Date: Sat, 9 Nov 2002 11:40:37 +0200
Organization: GRNET, Greece
Lines: 18
Message-ID: <aqiklr$lt1$1@nic.grnet.gr>
NNTP-Posting-Host: ikaros.ee.duth.gr
X-Trace: nic.grnet.gr 1036834299 22433 193.92.243.26 (9 Nov 2002 09:31:39 GMT)
X-Complaints-To: abuse@grnet.gr
NNTP-Posting-Date: Sat, 9 Nov 2002 09:31:39 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000