On 22Nov2007 16:02, abhishek misra <[EMAIL PROTECTED]> wrote:
| I'm trying to  compile 'expect' with static linkage using -static as CFLAGS . 
| It compiles well without the flag.
| below is part log that shows failure
| 
----------------------------------------------------------------------------------------
|     267 gcc -pipe \
|     268         -static -O2 -g -m32 -march=i686 -mtune=i686 
-fmessage-length=0 -D_FORTIFY_SOURCE=2  -Wall -Wno-implicit-int -fPIC \
|     269          \
|     270         -fPIC \
|     271          -Wl,--export-dynamic \
|     272         -o expect exp_main_exp.o \
|     273         -L/usr/src/mcp/mcp5/BUILD/expect-5.43 -lexpect5.43.0 \
|     274         -L/usr/lib -ltcl8.4 \
|     275         -ldl  -lieee -lm \
|     276         -Wl,-rpath,/usr/lib \
|     277         -Wl,-rpath,/usr/lib/expect5.43.0
|     278 /usr/bin/ld: cannot find -lexpect5.43.0
|     279 collect2: ld returned 1 exit status
|     280 make: *** [expect] Error 1
|     281 error: Bad exit status from /var/tmp/rpm-tmp.55985 (%build)

I would say there is no libexpect5.43.0.a file (note .a suffix, not .so).
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

Compromise: Such an adjustment of conflicting interests as gives each
adversary the satisfaction of thinking he has got what he ought not to have,
and is deprived of nothing except what was justly his due.
Ambrose Bierce (1842-1914), U.S. author. The Devil's Dictionary (1881-1906).


To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to