[Xastir] Compiling problems

Tim Connolly tim at timsnet.com
Thu Jul 1 00:49:58 EDT 2004


Bingo...

Thanks for the help.

-----Original Message-----
From: Tim Dawson [mailto:tadawson at tpcsvc.com] 
Sent: Wednesday, June 30, 2004 10:47 PM
To: Tim Connolly
Subject: Re: [Xastir] Compiling problems

Check config.h for the line defining malloc - rpl_malloc is a replacement 
function that can get defined (check for rpl_malloc in the file to find the
line).  I suggest you try commenting out the definition to use normal
malloc.

- Tim

> Somewhere between desperation and the start of this whole process I
managed
> to upgrade GCC to 3.4.0, which might be related. I'm tried to downgrade to
> 3.3.4 but that didn't help either.
> 
> -----Original Message-----
> From: xastir-bounces at xastir.org [mailto:xastir-bounces at xastir.org] On
Behalf
> Of Tim Connolly
> Sent: Wednesday, June 30, 2004 8:22 PM
> To: xastir at xastir.org
> Subject: [Xastir] Compiling problems
> 
>             I've been fighting with Xastir on two different boxes. First
was
> an old redhat 8.0 box that worked awesome on 1.1.4 but when upgraded (bad
> timing I think) I got the blue tigermaps instead of the regularly colored
> maps. Now I'm on a Debian box (new hardware too) trying 1.3.2 and 1.3.3
with
> the same results:
> 
>  
> 
> gcc  -g -O2 -pipe -Wall -pthread -L/usr/local/lib -L/usr/X11R6/lib -o
xastir
> alert.o awk.o bulletin_gui.o color.o datum.o db.o dbfawk.o draw_symbols.o
> fcc_data.o festival.o geo-find.o geocoder_gui.o gps.o hostname.o igate.o
> interface.o interface_gui.o io-common.o io-mmap.o lang.o list_gui.o
> locate_gui.o location.o location_gui.o main.o maps.o map_dos.o map_geo.o
> map_gdal.o map_gnis.o map_pdb.o map_shp.o map_tif.o map_tiger.o messages.o
> messages_gui.o popup_gui.o rac_data.o rotated.o snprintf.o sound.o
> track_gui.o util.o view_message_gui.o wx.o wx_gui.o xa_config.o  -lXm -lXt
> -lX11 -lMagick -lXext -lXt -lSM -lICE -lX11 -lpthread -lm -lpthread -lrt
> -lXm -lXt -lXp -lXext -lm -lSM -lICE -lX11 -lpcre -lproj -lax25 -lgdal
> 
> awk.o: In function `awk_eval_expr':
> 
> /usr/src/tmp/xastir-1.3.3/src/awk.c:471: undefined reference to
`rpl_malloc'
> 
> db.o: In function `store_most_recent_ack':
> 
> /usr/src/tmp/xastir-1.3.3/src/db.c:332: undefined reference to
`rpl_malloc'
> 
> db.o: In function `update_messages':
> 
> /usr/src/tmp/xastir-1.3.3/src/db.c:1047: undefined reference to
`rpl_malloc'
> 
> /usr/src/tmp/xastir-1.3.3/src/db.c:1096: undefined reference to
`rpl_malloc'
> 
> db.o: In function `get_weather_record':
> 
> /usr/src/tmp/xastir-1.3.3/src/db.c:5584: undefined reference to
`rpl_malloc'
> 
> db.o:/usr/src/tmp/xastir-1.3.3/src/db.c:5676: more undefined references to
> `rpl_malloc' follow
> 
> collect2: ld returned 1 exit status
> 
> make[3]: *** [xastir] Error 1
> 
> make[3]: Leaving directory `/usr/src/tmp/xastir-1.3.3/src'
> 
> make[2]: *** [all-recursive] Error 1
> 
> make[2]: Leaving directory `/usr/src/tmp/xastir-1.3.3/src'
> 
> make[1]: *** [all-recursive] Error 1
> 
> make[1]: Leaving directory `/usr/src/tmp/xastir-1.3.3'
> 
> make: *** [all] Error 2
> 
> debian:{root}:/usr/src/tmp/xastir-1.3.3>
> 
>  
> 
>  
> 
>  
> 
>  
> 
> Building with AX25.......... : yes
> 
> Building with Festival...... : yes
> 
> Building with GPSMan........ : yes
> 
> Building with ImageMagick... : yes
> 
> Building with libproj....... : yes
> 
> Building with GeoTiff....... : no
> 
> Building with GDAL/OGR...... : yes
> 
> Building with ShapeLib...... : no
> 
> Building with pcre.......... : yes
> 
> Building with dbfawk........ : no
> 
>  
> 
>  
> 
>  
> 
> Any suggestions?
> 
>  
> 
> Thanks
> 
> Tim
> 
>  
> 
>  
> 
>  
> 
>  
> 
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> https://krypton.hscs.virginia.edu/mailman/listinfo/xastir
> 
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> https://krypton.hscs.virginia.edu/mailman/listinfo/xastir
> 

-- 
============================================================================
====
Tim Dawson (tadawson at tpcsvc.com)                    Owner/Engineer
TPC Services                                        Bellnet: (972)-221-7385
Lewisville, Texas 75067                             FAXnet:  (972)-874-2932
"The world is complex. Sendmail.cf reflects this...."




More information about the Xastir mailing list