<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Teamspeak 3 &#8211; How to Chroot</title> <atom:link href="http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/feed/" rel="self" type="application/rss+xml" /><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/</link> <description>Geek in training...</description> <lastBuildDate>Fri, 03 Feb 2012 17:10:47 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Apropo</title><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/comment-page-1/#comment-33554</link> <dc:creator>Apropo</dc:creator> <pubDate>Tue, 08 Nov 2011 10:36:24 +0000</pubDate> <guid
isPermaLink="false">http://www.feldstudie.net/?p=2519#comment-33554</guid> <description>Ich bekomme beim Kompilieren leider folgende Masse an Fehlern. Kann da vielleicht jemand was mit anfangen? Der Server l&#228;uft mit Debian Squeeze.
chrlogin.c:46: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;CHROOT_LEVEL&#039;
In file included from /usr/include/stdio.h:75,
from chrlogin.c:52:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before &#039;size_t&#039;
/usr/include/libio.h:364: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/libio.h:373: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/libio.h:495: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;_IO_sgetn&#039;
In file included from chrlogin.c:52:
/usr/include/stdio.h:296: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:302: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:314: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:321: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:363: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:365: error: format string argument not a string type
/usr/include/stdio.h:367: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:369: error: format string argument not a string type
/usr/include/stdio.h:639: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:642: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:652: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdio.h:682: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;fread&#039;
/usr/include/stdio.h:688: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;fwrite&#039;
/usr/include/stdio.h:710: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;fread_unlocked&#039;
/usr/include/stdio.h:712: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;fwrite_unlocked&#039;
In file included from chrlogin.c:53:
/usr/include/unistd.h:357: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:363: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:507: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
In file included from chrlogin.c:53:
/usr/include/unistd.h:618: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;confstr&#039;
/usr/include/unistd.h:790: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:826: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:837: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:873: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
In file included from chrlogin.c:53:
/usr/include/unistd.h:895: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:902: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:913: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:915: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:933: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/unistd.h:934: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
In file included from chrlogin.c:54:
/usr/include/stdlib.h:140: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__ctype_get_mb_cur_max&#039;
In file included from chrlogin.c:54:
/usr/include/stdlib.h:337: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:367: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:471: error: expected &#039;)&#039; before &#039;__size&#039;
/usr/include/stdlib.h:473: error: expected &#039;)&#039; before &#039;__nmemb&#039;
/usr/include/stdlib.h:485: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
In file included from /usr/include/stdlib.h:497,
from chrlogin.c:54:
/usr/include/alloca.h:33: error: expected &#039;)&#039; before &#039;__size&#039;
In file included from chrlogin.c:54:
/usr/include/stdlib.h:502: error: expected &#039;)&#039; before &#039;__size&#039;
/usr/include/stdlib.h:507: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:507: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:751: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:751: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:752: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:756: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:756: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:757: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:834: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:837: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:841: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:845: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:854: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:858: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/stdlib.h:865: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;mbstowcs&#039;
/usr/include/stdlib.h:868: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;wcstombs&#039;
In file included from chrlogin.c:56:
/usr/include/string.h:44: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:48: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:57: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:64: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:67: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:94: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:131: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:139: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:145: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:152: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;strxfrm&#039;
In file included from chrlogin.c:56:
/usr/include/string.h:167: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;strxfrm_l&#039;
/usr/include/string.h:181: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:282: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;strcspn&#039;
/usr/include/string.h:286: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;strspn&#039;
/usr/include/string.h:397: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;strlen&#039;
/usr/include/string.h:404: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;strnlen&#039;
/usr/include/string.h:425: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:449: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:453: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:457: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:460: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:538: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:575: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/string.h:578: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
In file included from /usr/include/string.h:635,
from chrlogin.c:56:
/usr/include/bits/string2.h:969: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strcspn_c1&#039;
/usr/include/bits/string2.h:971: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strcspn_c1&#039;
/usr/include/bits/string2.h:979: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strcspn_c2&#039;
/usr/include/bits/string2.h:982: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strcspn_c2&#039;
/usr/include/bits/string2.h:991: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strcspn_c3&#039;
/usr/include/bits/string2.h:994: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strcspn_c3&#039;
/usr/include/bits/string2.h:1045: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strspn_c1&#039;
/usr/include/bits/string2.h:1047: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strspn_c1&#039;
/usr/include/bits/string2.h:1056: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strspn_c2&#039;
/usr/include/bits/string2.h:1059: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strspn_c2&#039;
/usr/include/bits/string2.h:1068: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strspn_c3&#039;
/usr/include/bits/string2.h:1071: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__strspn_c3&#039;
/usr/include/bits/string2.h: In function &#039;__strpbrk_c2&#039;:
/usr/include/bits/string2.h:1129: error: &#039;size_t&#039; undeclared (first use in this function)
/usr/include/bits/string2.h:1129: error: (Each undeclared identifier is reported only once
/usr/include/bits/string2.h:1129: error: for each function it appears in.)
/usr/include/bits/string2.h:1129: error: expected &#039;;&#039; before &#039;__s&#039;
/usr/include/bits/string2.h: In function &#039;__strpbrk_c3&#039;:
/usr/include/bits/string2.h:1142: error: &#039;size_t&#039; undeclared (first use in this function)
/usr/include/bits/string2.h:1142: error: expected &#039;;&#039; before &#039;__s&#039;
/usr/include/bits/string2.h: At top level:
/usr/include/bits/string2.h:1322: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
In file included from chrlogin.c:57:
/usr/include/pwd.h:141: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/pwd.h:147: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/pwd.h:152: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
/usr/include/pwd.h:166: error: expected declaration specifiers or &#039;...&#039; before &#039;size_t&#039;
chrlogin.c: In function &#039;main&#039;:
chrlogin.c:119: error: &#039;CHROOT_LEVEL&#039; undeclared (first use in this function)
chrlogin.c:136: warning: implicit declaration of function &#039;strlen&#039;
chrlogin.c:136: warning: incompatible implicit declaration of built-in function &#039;strlen&#039;</description> <content:encoded><![CDATA[<p>Ich bekomme beim Kompilieren leider folgende Masse an Fehlern. Kann da vielleicht jemand was mit anfangen? Der Server l&#228;uft mit Debian Squeeze.</p><p>chrlogin.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CHROOT_LEVEL'<br
/> In file included from /usr/include/stdio.h:75,<br
/> from chrlogin.c:52:<br
/> /usr/include/libio.h:332: error: expected specifier-qualifier-list before 'size_t'<br
/> /usr/include/libio.h:364: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/libio.h:373: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/libio.h:495: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'<br
/> In file included from chrlogin.c:52:<br
/> /usr/include/stdio.h:296: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:302: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:314: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:321: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:363: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:365: error: format string argument not a string type<br
/> /usr/include/stdio.h:367: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:369: error: format string argument not a string type<br
/> /usr/include/stdio.h:639: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:642: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:652: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdio.h:682: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'<br
/> /usr/include/stdio.h:688: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'<br
/> /usr/include/stdio.h:710: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'<br
/> /usr/include/stdio.h:712: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'<br
/> In file included from chrlogin.c:53:<br
/> /usr/include/unistd.h:357: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:363: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:507: error: expected declaration specifiers or '...' before 'size_t'<br
/> In file included from chrlogin.c:53:<br
/> /usr/include/unistd.h:618: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'confstr'<br
/> /usr/include/unistd.h:790: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:826: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:837: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:873: error: expected declaration specifiers or '...' before 'size_t'<br
/> In file included from chrlogin.c:53:<br
/> /usr/include/unistd.h:895: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:902: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:913: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:915: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:933: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/unistd.h:934: error: expected declaration specifiers or '...' before 'size_t'<br
/> In file included from chrlogin.c:54:<br
/> /usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'<br
/> In file included from chrlogin.c:54:<br
/> /usr/include/stdlib.h:337: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:367: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)<br
/> /usr/include/stdlib.h:471: error: expected ')' before '__size'<br
/> /usr/include/stdlib.h:473: error: expected ')' before '__nmemb'<br
/> /usr/include/stdlib.h:485: error: expected declaration specifiers or '...' before 'size_t'<br
/> In file included from /usr/include/stdlib.h:497,<br
/> from chrlogin.c:54:<br
/> /usr/include/alloca.h:33: error: expected ')' before '__size'<br
/> In file included from chrlogin.c:54:<br
/> /usr/include/stdlib.h:502: error: expected ')' before '__size'<br
/> /usr/include/stdlib.h:507: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:507: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:751: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:751: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:752: error: nonnull argument with out-of-range operand number (argument 1, operand 5)<br
/> /usr/include/stdlib.h:756: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:756: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:757: error: nonnull argument with out-of-range operand number (argument 1, operand 4)<br
/> /usr/include/stdlib.h:834: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:837: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:841: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:845: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:854: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:858: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/stdlib.h:865: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs'<br
/> /usr/include/stdlib.h:868: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs'<br
/> In file included from chrlogin.c:56:<br
/> /usr/include/string.h:44: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:48: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:57: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:64: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:67: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:94: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:131: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:139: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:145: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm'<br
/> In file included from chrlogin.c:56:<br
/> /usr/include/string.h:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm_l'<br
/> /usr/include/string.h:181: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn'<br
/> /usr/include/string.h:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn'<br
/> /usr/include/string.h:397: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen'<br
/> /usr/include/string.h:404: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strnlen'<br
/> /usr/include/string.h:425: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:449: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:453: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:457: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:460: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:538: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:575: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/string.h:578: error: expected declaration specifiers or '...' before 'size_t'<br
/> In file included from /usr/include/string.h:635,<br
/> from chrlogin.c:56:<br
/> /usr/include/bits/string2.h:969: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c1'<br
/> /usr/include/bits/string2.h:971: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c1'<br
/> /usr/include/bits/string2.h:979: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c2'<br
/> /usr/include/bits/string2.h:982: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c2'<br
/> /usr/include/bits/string2.h:991: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c3'<br
/> /usr/include/bits/string2.h:994: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c3'<br
/> /usr/include/bits/string2.h:1045: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c1'<br
/> /usr/include/bits/string2.h:1047: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c1'<br
/> /usr/include/bits/string2.h:1056: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c2'<br
/> /usr/include/bits/string2.h:1059: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c2'<br
/> /usr/include/bits/string2.h:1068: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c3'<br
/> /usr/include/bits/string2.h:1071: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c3'<br
/> /usr/include/bits/string2.h: In function '__strpbrk_c2':<br
/> /usr/include/bits/string2.h:1129: error: 'size_t' undeclared (first use in this function)<br
/> /usr/include/bits/string2.h:1129: error: (Each undeclared identifier is reported only once<br
/> /usr/include/bits/string2.h:1129: error: for each function it appears in.)<br
/> /usr/include/bits/string2.h:1129: error: expected ';' before '__s'<br
/> /usr/include/bits/string2.h: In function '__strpbrk_c3':<br
/> /usr/include/bits/string2.h:1142: error: 'size_t' undeclared (first use in this function)<br
/> /usr/include/bits/string2.h:1142: error: expected ';' before '__s'<br
/> /usr/include/bits/string2.h: At top level:<br
/> /usr/include/bits/string2.h:1322: error: expected declaration specifiers or '...' before 'size_t'<br
/> In file included from chrlogin.c:57:<br
/> /usr/include/pwd.h:141: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/pwd.h:147: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/pwd.h:152: error: expected declaration specifiers or '...' before 'size_t'<br
/> /usr/include/pwd.h:166: error: expected declaration specifiers or '...' before 'size_t'<br
/> chrlogin.c: In function 'main':<br
/> chrlogin.c:119: error: 'CHROOT_LEVEL' undeclared (first use in this function)<br
/> chrlogin.c:136: warning: implicit declaration of function 'strlen'<br
/> chrlogin.c:136: warning: incompatible implicit declaration of built-in function 'strlen'</p> ]]></content:encoded> </item> <item><title>By: Marcel</title><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/comment-page-1/#comment-17197</link> <dc:creator>Marcel</dc:creator> <pubDate>Thu, 21 Apr 2011 08:59:03 +0000</pubDate> <guid
isPermaLink="false">http://www.feldstudie.net/?p=2519#comment-17197</guid> <description>Nein, das liegt nicht an der UID.
Bei meinem Debian squeeze wurde f&#252;r den Benutzer und die Gruppe ebenfalls 1000 vergeben (root hat 0).
Ich hatte ebenfalls das Problem und habe hier eine die Problemursache und L&#246;sung gefunden:
http://www.linuxforen.de/forums/showthread.php?t=215987
In /etc/nscd.conf folgende Eintr&#228;ge auf &quot;no&quot; setzen:
enable-cache passwd no
enable-cache group no
Anschliessend daemon neustarten (f&#252;r debian):
srv:~# invoke-rc.d nscd restart</description> <content:encoded><![CDATA[<p>Nein, das liegt nicht an der UID.<br
/> Bei meinem Debian squeeze wurde f&#252;r den Benutzer und die Gruppe ebenfalls 1000 vergeben (root hat 0).</p><p>Ich hatte ebenfalls das Problem und habe hier eine die Problemursache und L&#246;sung gefunden:<br
/> <a
href="http://www.linuxforen.de/forums/showthread.php?t=215987" rel="nofollow">http://www.linuxforen.de/forums/showthread.php?t=215987</a></p><p>In /etc/nscd.conf folgende Eintr&#228;ge auf "no" setzen:<br
/> enable-cache passwd no<br
/> enable-cache group no</p><p>Anschliessend daemon neustarten (f&#252;r debian):<br
/> srv:~# invoke-rc.d nscd restart</p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/comment-page-1/#comment-5517</link> <dc:creator>Alex</dc:creator> <pubDate>Sat, 20 Nov 2010 20:59:15 +0000</pubDate> <guid
isPermaLink="false">http://www.feldstudie.net/?p=2519#comment-5517</guid> <description>...ok hat sich erledigt.
Mir fehlte die /bin/sh im chroot
Jetzt funktioniert es, frage mich nur warum andere das Problem nicht haben/hatten?</description> <content:encoded><![CDATA[<p>...ok hat sich erledigt.<br
/> Mir fehlte die /bin/sh im chroot<br
/> Jetzt funktioniert es, frage mich nur warum andere das Problem nicht haben/hatten?</p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/comment-page-1/#comment-5505</link> <dc:creator>Alex</dc:creator> <pubDate>Sat, 20 Nov 2010 01:09:37 +0000</pubDate> <guid
isPermaLink="false">http://www.feldstudie.net/?p=2519#comment-5505</guid> <description>Hallo,
ich hab dieses chroot genau nach der obigen Anleitung durchgef&#252;hrt  ..allerdings ging bei mir dieses: mount -o bind /dev/random /home/chroot/ts3/dev/random
mount -o bind /dev/urandom /home/chroot/ts3/dev/urandom   nicht!  Weshalb ich es wie mein Serveranbieter empfohlen hat mit:  mknod -m 644 /home/chroot/ts3/dev/random c 1 8
chown root:root /home/chroot/ts3/dev/random zu machen.  Sonst hat alles funktioniert.  Wenn ich das Jail betrete mit &quot;su - ts3&quot;  kommt immer die Meldung: su - ts3
bash: dircolors: command not found
I have no name!@xyz:~$
Wenn ich jetzt versuche TS3 zu starten erhalte ich folgende Meldungen:
./ts3server_minimal_runscript.sh
bash: ./ts3server_minimal_runscript.sh: /bin/sh: bad interpreter: No such file or directory
I have no name!@xyz:~/teamspeak3-server_linux-x86$
oder:
./ts3server_linux_x86 inifile=server.ini
TeamSpeak Server 3.0.0-beta29 [Build: 12473]
(c)TeamSpeak Systems GmbH
Logging started
2010-11-20 01:07:53.246710&#124;INFO    &#124;ServerLibPriv &#124;   &#124; Server Version: 3.0.0-beta29 [Build: 12473], Linux
2010-11-20 01:07:53.246942&#124;INFO    &#124;DatabaseQuery &#124;   &#124; Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself
2010-11-20 01:07:53.246982&#124;CRITICAL&#124;DatabaseQuery &#124;   &#124; unable to load database plugin library &quot;libts3db_sqlite3.so&quot;, halting!
I have no name!@xyz:~/teamspeak3-server_linux-x86$
Weiter komme ich nicht... Bitte um Hilfe !!!</description> <content:encoded><![CDATA[<p>Hallo,<br
/> ich hab dieses chroot genau nach der obigen Anleitung durchgef&#252;hrt  ..allerdings ging bei mir dieses: mount -o bind /dev/random /home/chroot/ts3/dev/random<br
/> mount -o bind /dev/urandom /home/chroot/ts3/dev/urandom   nicht!  Weshalb ich es wie mein Serveranbieter empfohlen hat mit:  mknod -m 644 /home/chroot/ts3/dev/random c 1 8<br
/> chown root:root /home/chroot/ts3/dev/random zu machen.  Sonst hat alles funktioniert.  Wenn ich das Jail betrete mit "su - ts3"  kommt immer die Meldung: su - ts3<br
/> bash: dircolors: command not found<br
/> I have no name!@xyz:~$<br
/> Wenn ich jetzt versuche TS3 zu starten erhalte ich folgende Meldungen:<br
/> ./ts3server_minimal_runscript.sh<br
/> bash: ./ts3server_minimal_runscript.sh: /bin/sh: bad interpreter: No such file or directory<br
/> I have no name!@xyz:~/teamspeak3-server_linux-x86$<br
/> oder:<br
/> ./ts3server_linux_x86 inifile=server.ini<br
/> TeamSpeak Server 3.0.0-beta29 [Build: 12473]<br
/> (c)TeamSpeak Systems GmbH</p><p>Logging started<br
/> 2010-11-20 01:07:53.246710|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta29 [Build: 12473], Linux<br
/> 2010-11-20 01:07:53.246942|INFO    |DatabaseQuery |   | Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself<br
/> 2010-11-20 01:07:53.246982|CRITICAL|DatabaseQuery |   | unable to load database plugin library "libts3db_sqlite3.so", halting!<br
/> I have no name!@xyz:~/teamspeak3-server_linux-x86$</p><p>Weiter komme ich nicht... Bitte um Hilfe !!!</p> ]]></content:encoded> </item> <item><title>By: Torsten</title><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/comment-page-1/#comment-5353</link> <dc:creator>Torsten</dc:creator> <pubDate>Tue, 09 Nov 2010 08:17:06 +0000</pubDate> <guid
isPermaLink="false">http://www.feldstudie.net/?p=2519#comment-5353</guid> <description>Ich denke, das wird an der uid 1000 liegen. Die 1000 ist normalerweise die UID f&#252;r den root-Benutzer und den willst Du ja nicht chrooten.</description> <content:encoded><![CDATA[<p>Ich denke, das wird an der uid 1000 liegen. Die 1000 ist normalerweise die UID f&#252;r den root-Benutzer und den willst Du ja nicht chrooten.</p> ]]></content:encoded> </item> <item><title>By: Sebi</title><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/comment-page-1/#comment-5272</link> <dc:creator>Sebi</dc:creator> <pubDate>Sat, 06 Nov 2010 10:28:22 +0000</pubDate> <guid
isPermaLink="false">http://www.feldstudie.net/?p=2519#comment-5272</guid> <description>Hallo Zusammen
Ich bringe leider das jailroot nicht zum laufen.
Ich erhalte wie RadioAdmin die Fehlermeldung &quot;-su: Could not chdir to new home directory /home/chroot/ts3/home/ts3 for user #1000:&quot; beim Versuch mich als jailrooted user anzumelden.
chrlogin.c hab ich mit CHROOT_LEVEL 3 kompiliert und die Verzeichnisstruktur wie von Torsten im Artikel abgebildet.
Anbei die beiden passwd Files:
/etc/passwd
ts3:x:1000:109::/home/chroot/ts3/home/ts3:/usr/local/bin/chrlogin
/home/chroot/ts3/etc/passwd
ts3:x:1000:109::/home/ts3:/bin/bash
Kann mir jemand helfen oder sagen was ich noch an Informationen bereitstellen soll?
Gruess Sebi</description> <content:encoded><![CDATA[<p>Hallo Zusammen</p><p>Ich bringe leider das jailroot nicht zum laufen.<br
/> Ich erhalte wie RadioAdmin die Fehlermeldung "-su: Could not chdir to new home directory /home/chroot/ts3/home/ts3 for user #1000:" beim Versuch mich als jailrooted user anzumelden.</p><p>chrlogin.c hab ich mit CHROOT_LEVEL 3 kompiliert und die Verzeichnisstruktur wie von Torsten im Artikel abgebildet.</p><p>Anbei die beiden passwd Files:<br
/> /etc/passwd<br
/> ts3:x:1000:109::/home/chroot/ts3/home/ts3:/usr/local/bin/chrlogin</p><p>/home/chroot/ts3/etc/passwd<br
/> ts3:x:1000:109::/home/ts3:/bin/bash</p><p>Kann mir jemand helfen oder sagen was ich noch an Informationen bereitstellen soll?</p><p>Gruess Sebi</p> ]]></content:encoded> </item> <item><title>By: Joost</title><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/comment-page-1/#comment-4134</link> <dc:creator>Joost</dc:creator> <pubDate>Sun, 29 Aug 2010 17:39:30 +0000</pubDate> <guid
isPermaLink="false">http://www.feldstudie.net/?p=2519#comment-4134</guid> <description>You can use the start/stopscript supplied by Teamspeak (with a small adjustment of the BINARYPATH variable) and run it from your own session in a single command.
$ sudo su - teamspeak ./path-inside-chroot/ts3server_startscript.sh start
And this seems to work pretty nicely in an init.d script, see http://pastebin.com/xedjJJWk for an example. You can have i started on server-boot and keep it running without nohup (or similar apps).</description> <content:encoded><![CDATA[<p>You can use the start/stopscript supplied by Teamspeak (with a small adjustment of the BINARYPATH variable) and run it from your own session in a single command.</p><p>$ sudo su - teamspeak ./path-inside-chroot/ts3server_startscript.sh start</p><p>And this seems to work pretty nicely in an init.d script, see <a
href="http://pastebin.com/xedjJJWk" rel="nofollow">http://pastebin.com/xedjJJWk</a> for an example. You can have i started on server-boot and keep it running without nohup (or similar apps).</p> ]]></content:encoded> </item> <item><title>By: Robin</title><link>http://www.feldstudie.net/2009/12/22/teamspeak-3-how-to-chroot/comment-page-1/#comment-4072</link> <dc:creator>Robin</dc:creator> <pubDate>Fri, 02 Jul 2010 14:00:25 +0000</pubDate> <guid
isPermaLink="false">http://www.feldstudie.net/?p=2519#comment-4072</guid> <description>Hi!
ich w&#252;rd gerne auch meinen ts3 server chroot&#039;en. leider ist das script aber down... gibt es eine m&#246;glichkeit das script noch wo anders zu laden oder es ganz weg zu lassen? hab zwar bei google mal nach dem script gegooglet aber das sah anders aus und war fast immer nen direct link und das war mir dann doch zu gef&#228;hrlich^^</description> <content:encoded><![CDATA[<p>Hi!</p><p>ich w&#252;rd gerne auch meinen ts3 server chroot'en. leider ist das script aber down... gibt es eine m&#246;glichkeit das script noch wo anders zu laden oder es ganz weg zu lassen? hab zwar bei google mal nach dem script gegooglet aber das sah anders aus und war fast immer nen direct link und das war mir dann doch zu gef&#228;hrlich^^</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: www.feldstudie.net @ 2012-02-09 09:58:07 by W3 Total Cache -->
