#1832: Build error
--------------------------+-------------------------------------------------
 Reporter:  JustinWyllie  |        Type:  bug   
   Status:  new           |    Priority:  normal
Milestone:                |   Component:  none  
  Version:  2.6.0         |    Severity:  medium
 Keywords:                |        Lang:        
    Patch:                |    Platform:  linux 
--------------------------+-------------------------------------------------

Comment(by doughera):

 {{{
 >gcc -o miniparrot src/main.o src/null_config.o \
 >       -Wl,-rpath=/home/justvps1/parrot2.8/parrot-2.8.0/blib/lib
 -L/home/justvps1/parrot2.8>/parrot-2.8.0/blib/lib -lparrot  -lresolv -lnsl
 -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp
 > -L/usr/local/lib -Wl,-E
 >       src/main.o: In function `is_all_digits':
 >       /home/justvps1/parrot2.8/parrot-2.8.0/src/main.c:183: undefined
 reference to`Parrot_confess'
 }}}

 These error messages are what I'd expect if it couldn't find the right
 -lparrot (i.e. blib/lib/libparrot.so).  (It apparently found some
 libparrot somewhere, otherwise the linker would have complained "cannot
 find -lparrot").  Can you confirm that
 /home/justvpsl/parrot2.8/parrot-2.8.0/blib/libparrot.so exists and
 contains the required symbols?  For example, you could run
 {{{
     nm blib/lib/libparrot.so | grep 'T Parrot_confess'
 }}}
 Is there perhaps another libparrot somewhere else on your system which it
 might be finding?

 It might be helpful to run just that last failing command 'gcc -o miniperl
 ...' and add in a -v flag 'gcc -v -o miniperl ...' to see what, exactly,
 is happening.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1832#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to