Prev Previous Post   Next Post Next
  #1  
Old 8th May 2006, 12:25
unkn0wn unkn0wn is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default ssh chrooted

zlib-1.2.3# make
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o example.o example.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o adler32.o adler32.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o compress.o compress.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o crc32.o crc32.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o gzio.o gzio.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o uncompr.o uncompr.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o deflate.o deflate.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o trees.o trees.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o zutil.o zutil.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o inflate.o inflate.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o infback.o infback.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o inftrees.o inftrees.c
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -c -o inffast.o inffast.c
gcc -shared -Wl,-soname,libz.so.1 -o libz.so.1.2.3 adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
rm -f libz.so libz.so.1
ln -s libz.so.1.2.3 libz.so
ln -s libz.so.1.2.3 libz.so.1
gcc -fPIC -O3 -DNO_vsnprintf -DUSE_MMAP -o example example.o -L. libz.so.1.2.3
/usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x 0): In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
example.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0 x0): first defined here
collect2: ld returned 1 exit status
make: *** [example] Error 1


for zlib.
i follow howto from howtoforge.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 2 - DNS Not updating jackaltx Installation/Configuration 21 24th November 2008 14:06
Chrooted SSH HowTo question??? ctroyp HOWTO-Related Questions 86 24th February 2007 15:14
SSH Users CHROOT howser Installation/Configuration 20 2nd August 2006 09:22
Chrooted SSH linuxuser1 Server Operation 6 18th April 2006 09:09


All times are GMT +2. The time now is 03:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.