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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: kompilirane


  • Subject: Re: lug-bg: kompilirane
  • From: victor.bg@xxxxxxxxxxxx (Victor Senderov)
  • Date: Tue, 15 Feb 2000 15:17:43 +0100



>
>
> e tova beshe izkazwane;-) mojesh da si gi kompilirash kato koito si iskash
> user, IZPOLZWANETO na raw sockets iska root privilegii, no tova e pri
> IZPYLNENIE na programata, ne pri KOMPILIRANETO i.

taka e

>  moje bi ako sa po-stari sa za libc5, t.e. shte
> iskat malko butwane za da trugnat na glibc (libc6), zaradi porazmestwaneto
> na header failowete.

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

> ne sym mnogo siguren, az za ataka i/ili eksperimenti
> izpolzwam openbsd mashina;-)
>

ame i na linux vurviat de :))

victor

==================================================================
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.