Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: kompilirane


  • Subject: Re: lug-bg: kompilirane
  • From: pope@xxxxxxxxxx (Alex Pope)
  • Date: Wed, 16 Feb 2000 04:39:31 +0000 ( )



On Tue, 15 Feb 2000, Victor Senderov wrote:

> eto kakwo dawa:
> 
> [KeuH@iaut83 KeuH]$ gcc blat.c -o blat
> blat.c:12: netinet/ip_tcp.h: No such file or directory
> blat.c:13: netinet/protocols.h: No such file or directory
> [KeuH@iaut83 KeuH]$
> 
> naistina tiq headery gi niama
> preimenuvah ip_tcp.h na tcp.h
> a protocols.h go mahnah i pak probvah:
> [KeuH@iaut83 KeuH]$ gcc blat.c -o blat
> blat.c:12: netinet/ip_tcp.h: No such file or directory
> blat.c:13: netinet/protocols.h: No such file or directory
> [KeuH@iaut83 KeuH]$ gcc blat.c -o blat
> blat.c: In function `main':
> blat.c:48: `TH_SYN' undeclared (first use in this function)
> blat.c:48: (Each undeclared identifier is reported only once
> blat.c:48: for each function it appears in.)
> blat.c:109: `IP_TCP' undeclared (first use in this function)
> blat.c:113: structure has no member named `th_sport'
> blat.c:114: structure has no member named `th_dport'
> blat.c:115: structure has no member named `th_seq'
> blat.c:117: structure has no member named `th_flags'
> blat.c:118: structure has no member named `th_off'
> blat.c:119: structure has no member named `th_win'
> blat.c:120: structure has no member named `th_urp'
> blat.c:128: structure has no member named `th_sum'
> [KeuH@iaut83 KeuH]$
> i tuka vece se otkazah da go rovia, zastoto ne razbiram ot mrezowo
> programirane....
> 
> ta znaci ima li nqkwi howto kak se "butwat" filove ot libc5 na libc6 :))?
> 
> nesto podobno stawa i s drugata programa -- targa.c

Konkretnia problem niama nishto obshto s libc5 ili libc6, prosto stava 
duma za lipsvashi header-i. Po princip netinet direktoriata sydyrja 
includes za standartnite Internet protokoli. ip_tcp.h sydyrja razlichni
BSD definicii za TCP protokola, a protocols.h definira nomerata na
protokolite (napr. 1 e ICMP, 2 e IGMP, 6 e TCP, 17 e  UDP; mogat da se
vidiat i v /etc/protocols).
Niamam predstava zashto tezi header-i lipsvat.. pri Slackware sa v
paketa libc.tgz, pri Redhat moje bi sa v libc5-devel ili glibc-devel.

==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora


  • Във връзка с:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.