You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Compile erros; what am I missing?

UserPost

1:42 pm
April 25, 2010


Locke

Elkhart, IN

Member

posts 5

   258    /usr/bin/make
   259    make[1]: Entering directory `/home/locke/my_build/mangler/trunk'
   260    /usr/bin/make  all-recursive
   261    make[2]: Entering directory `/home/locke/my_build/mangler/trunk'
   262    Making all in libventrilo3
   263    make[3]: Entering directory `/home/locke/my_build/mangler/trunk/libventrilo3'
   264    /bin/bash ../libtool –tag=CC   –mode=compile gcc -DHAVE_CONFIG_H -I. -I..      -g -O2 -pthread -MT libventrilo3.lo -MD -MP -MF .deps/libventrilo3.Tpo -c -o libventrilo3.lo libventrilo3.c
   265    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -MT libventrilo3.lo -MD -MP -MF .deps/libventrilo3.Tpo -c libventrilo3.c  -fPIC -DPIC -o .libs/libventrilo3.o
   266    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -MT libventrilo3.lo -MD -MP -MF .deps/libventrilo3.Tpo -c libventrilo3.c -o libventrilo3.o >/dev/null 2>&1
   267    mv -f .deps/libventrilo3.Tpo .deps/libventrilo3.Plo
   268    /bin/bash ../libtool –tag=CC   –mode=compile gcc -DHAVE_CONFIG_H -I. -I..      -g -O2 -pthread -MT libventrilo3_message.lo -MD -MP -MF .deps/libventrilo3_message.Tpo -c -o libventrilo3_message.lo libventrilo3_message.c
   269    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -MT libventrilo3_message.lo -MD -MP -MF .deps/libventrilo3_message.Tpo -c libventrilo3_message.c  -fPIC -DPIC -o .libs/libventrilo3_message.o
   270    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -MT libventrilo3_message.lo -MD -MP -MF .deps/libventrilo3_message.Tpo -c libventrilo3_message.c -o libventrilo3_message.o >/dev/null 2>&1
   271    mv -f .deps/libventrilo3_message.Tpo .deps/libventrilo3_message.Plo
   272    /bin/bash ../libtool –tag=CC   –mode=compile gcc -DHAVE_CONFIG_H -I. -I..      -g -O2 -pthread -MT ventrilo3_handshake.lo -MD -MP -MF .deps/ventrilo3_handshake.Tpo -c -o ventrilo3_handshake.lo ventrilo3_handshake.c
   273    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -MT ventrilo3_handshake.lo -MD -MP -MF .deps/ventrilo3_handshake.Tpo -c ventrilo3_handshake.c  -fPIC -DPIC -o .libs/ventrilo3_handshake.o
   274    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -pthread -MT ventrilo3_handshake.lo -MD -MP -MF .deps/ventrilo3_handshake.Tpo -c ventrilo3_handshake.c -o ventrilo3_handshake.o >/dev/null 2>&1
   275    mv -f .deps/ventrilo3_handshake.Tpo .deps/ventrilo3_handshake.Plo
   276    /bin/bash ../libtool –tag=CC   –mode=link gcc  -g -O2 -pthread -version 0:0:0 -Wl,-z,defs -o libventrilo3.la -rpath /usr/lib libventrilo3.lo libventrilo3_message.lo ventrilo3_handshake.lo -lspeex    -lgsm   -lgsm  
   277    libtool: link: gcc -shared  .libs/libventrilo3.o .libs/libventrilo3_message.o .libs/ventrilo3_handshake.o   -lspeex -lgsm  -pthread -Wl,-z -Wl,defs   -pthread -Wl,-soname -Wl,libventrilo3.so.0 -o .libs/libventrilo3.so.0.0.0
   278    .libs/libventrilo3.o: In function `_v3_process_message':
   279    /home/locke/my_build/mangler/trunk/libventrilo3/libventrilo3.c:4608: undefined reference to `tan'
   280    /home/locke/my_build/mangler/trunk/libventrilo3/libventrilo3.c:4619: undefined reference to `tan'
   281    collect2: ld returned 1 exit status
   282    make[3]: *** [libventrilo3.la] Error 1
   283    make[3]: Leaving directory `/home/locke/my_build/mangler/trunk/libventrilo3'
   284    make[2]: *** [all-recursive] Error 1
   285    make[2]: Leaving directory `/home/locke/my_build/mangler/trunk'
   286    make[1]: *** [all] Error 2
   287    make[1]: Leaving directory `/home/locke/my_build/mangler/trunk'
   288    make: *** [build-stamp] Error 2

This is a section of the build log where the error occurs, error is at 279 and 280. I have all the depends mentioned in the debian/control file. This is r774 from svn. This is my first time trying to compile mangler, and have been trying for the last couple of days (r760) with the same results.

 

 Thanks in advance.

 

2:03 pm
April 25, 2010


econnell

Admin

posts 319

Post edited 6:04 pm – April 25, 2010 by ekilfoil


svn current revision is currently broken (which is why we call it unstable).  It'll be fixed in a few hours.  Use an an older revision for now.

2:39 pm
April 25, 2010


econnell

Admin

posts 319

Actually, this specific part should be working fine even in current revision.

 

It's not linking in libm automatically for some reason.  That's odd…  I've explicitly added -lm to the build and I'll commit it later.  Thanks for pointing this out.

 

6:02 pm
April 28, 2010


Locke

Elkhart, IN

Member

posts 5

I'm happy with "broken". Just recently trying Mangler from svn, I was unaware of its current state. Thanks for the prompt reply, and the commit. ;)


About the Mangler forum

Forum Timezone: America/New_York

Most Users Ever Online: 30

Currently Online:
7 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 4
Topics: 244
Posts: 1124

Membership:

There are 726 Members

There is 1 Admin
There are 2 Moderators

Top Posters:

clearscreen – 48
dardack – 18
Krovikan – 16
FWishbringer – 14
faldiin – 12
vpro – 11

Recent New Members: metap0d, cajinboy, HeartofDixie, Gridge, morusec, Redsolardragon

Administrators: econnell (319 Posts)

Moderators: Haxar (58 Posts), bobshaffer (2 Posts)