|
News,
Internal,
Projects,
Home Software, Support, Documentation |
մϴ. ãҽϴ. src/c/plugin/resin/Makefile -ldl ߴ
̷ ..Ѥ;
/usr/lib/libc.so: WARNING! setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: WARNING! des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING! encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommended.
/usr/lib/libc.so: WARNING! des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp()
հ ϴ ؼ
ãƺô.. -
are you sure you are not linking your binary against libc_r and libc?
in FreeBSD you should use -pthread option for gcc when you want your
program to be linked against libc_r
̷ ִ.. -pthread ߰ߴ Ǵ..
߿ ϱ ؼ ̷ ϴ. ϼ..
----- Original Message -----
From: "Namsik Yoon" <carnival@secui.com>
To: "FreeBSD.kr questions" <questions@kr.freebsd.org>
Sent: Friday, January 10, 2003 10:06 AM
Subject: RE: FreeBSD 4.6 resin 2.1.6 ġϴ ˷ּ.
> -ldl libdl̶ library ϶ ɼԴϴ.
> libdl linux FreeBSD .
> libdl dlopen, dlclose, dlsym ִµ, FreeBSD libcȿ ̰͵ ԵǾ ִ.
> libc_r ̹ Խ library Makefile -ldl ʾ
> ?
>
>
> -----Original Message-----
> From: owner-questions@kr.freebsd.org [mailto:owner-questions@kr.freebsd.org]On Behalf Of
> Sent: Thursday, January 09, 2003 5:00 PM
> To: MC Yi; questions@kr.freebsd.org
> Subject: Re: FreeBSD 4.6 resin 2.1.6 ġϴ ˷ּ.
>
>
> մϴ. ű Ʈ ִµ ߴµ ȵǴ±...;
>
>
> gcc -o resin resin.o ../common/common.o std.o memory.o ssl.o -lc_r /usr/lib/libssl.a /usr/lib/libcr
> ypto.a -ldl
> /usr/libexec/elf/ld: cannot find -ldl
>
> ̷ µ cannot find -ldl ̶ ?
>
> ----- Original Message -----
> From: MC Yi
> To: questions@kr.freebsd.org
> Sent: Thursday, January 09, 2003 4:14 PM
> Subject: Re: FreeBSD 4.6 resin 2.1.6 ġϴ ˷ּ.
>
>
> http://linux.sarang.net/board/?p=read&table=tip&no=5447&page=&o[at]=s&o[sc]=t&o[ss]=resin&o[st]=a
> ----- Original Message -----
> From:
> To: questions@kr.freebsd.org
> Sent: Thursday, January 09, 2003 4:13 PM
> Subject: FreeBSD 4.6 resin 2.1.6 ġϴ ˷ּ.
>
>
> ȳϼ. ̹ Ʈ FreeBSD ٲٱ ؼ û ϴ Դϴ..
> 鱺.. ã ϴ ¿ ̷
> ϴ.
> ϴ jdk1.3.1 apache13-modssl ports ġ Ͽϴ.
> ports resin .. resinƮ(http://www.caucho.com) ҽ Ƽ
> ϴµ ..
>
> ============================================================================================
> # configure --prefix=/usr/local/resin --with-apxs=/usr/local/sbin/apxs
> ..
> ..
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating bin/wrapper.pl
> config.status: creating src/c/plugin/Makefile
> config.status: creating src/c/plugin/common/Makefile
> config.status: creating src/c/plugin/nsapi/Makefile
> config.status: creating src/c/plugin/apache/Makefile
> config.status: creating src/c/plugin/apache2/Makefile
> config.status: creating src/c/plugin/resin/Makefile
> config.status: creating src/c/plugin/hardcore/Makefile
> config.status: creating src/c/plugin/common/version.h
> config.status: creating src/c/jni/Makefile
> config.status: creating contrib/init.resin
> config.status: executing default-1 commands
>
> # make
> (cd src/c/plugin; make)
> for dir in common apache resin; do (cd $dir; make); done
> gcc -c -I/usr/include -g -O2 stream.c
> gcc -c -I/usr/include -g -O2 registry.c
> gcc -c -I/usr/include -g -O2 config.c
> gcc -c -I/usr/include -g -O2 memory.c
> ..
> ..
> ..
> gcc -g -O2 -DRESIN_HOME=\"/root/resin-2.1.6\" -I/usr/include -I/usr/local/jdk1.3.1/include -I/usr/lo
> cal/jdk1.3.1/include/freebsd -I../common -DCPU=\"i386\" -DOS= -c resin.c
> gcc -g -O2 -DRESIN_HOME=\"/root/resin-2.1.6\" -I/usr/include -I/usr/local/jdk1.3.1/include -I/usr/lo
> cal/jdk1.3.1/include/freebsd -I../common -DCPU=\"i386\" -DOS= -c std.c
> gcc -g -O2 -DRESIN_HOME=\"/root/resin-2.1.6\" -I/usr/include -I/usr/local/jdk1.3.1/include -I/usr/lo
> cal/jdk1.3.1/include/freebsd -I../common -DCPU=\"i386\" -DOS= -c memory.c
> gcc -g -O2 -DRESIN_HOME=\"/root/resin-2.1.6\" -I/usr/include -I/usr/local/jdk1.3.1/include -I/usr/lo
> cal/jdk1.3.1/include/freebsd -I../common -DCPU=\"i386\" -DOS= -c ssl.c
> gcc -o resin resin.o ../common/common.o std.o memory.o ssl.o -lc_r /usr/lib/libssl.a /usr/lib/libcr
> ypto.a -ldl
> /usr/libexec/elf/ld: cannot find -ldl
> *** Error code 1
>
> Stop in /root/resin-2.1.6/src/c/plugin/resin.
> *** Error code 1
>
> Stop in /root/resin-2.1.6/src/c/plugin.
> *** Error code 1
>
> Stop in /root/resin-2.1.6.
> ============================================================================================
>
> ̷ Ǵٰ ..
> ° ˷ֽø ϰڽϴ.
> Ȥ about FreeBSD åϰ .; ϴ° ..?
> ˷ּ>WFv?)A??y??R{n?zwj)f? ??rz?ȶ86~?zZ(ݵrPa@Bm +~nh +:˛mٚ[h&JŭH:+칻&ު笶*')N
z
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2003/01/31 23:01:27 $ |
|