[Xastir-dev] Any idea what libraries provide this?
Tom Russo
russo at bogodyn.org
Sat Jul 9 14:20:02 PDT 2016
main.c itself defines no_data_selected, not a library. It's defined as an
inline function.
Can't say why the loader is not noticing that, but it could be a difference
between the function prototype and the usage. The function is declared as
inline int no_data_selected(void)
but called as
no_data_selected()
max_i is similarly defined as an inline function in maps.c.
Perhaps the declaration as inline is what's causing the problem. Try removing
the inline qualifier from the two function declarations (main.c, line 5174 for
no_data_selected, and maps.c, line 231 for max_i) and see if that
helps.
On Sat, Jul 09, 2016 at 01:57:30PM -0700, we recorded a bogon-computron collision of the <davidf4 at mindspring.com> flavor, containing:
> I'm in the process of updating the multi-epoch old Readme.CYGWIN and I've
> worked through most of the issues. But the final link step is giving these
> errors. Anyone have any idea where these are supposed to come from so I can
> go find them?
>
> gcc -ggdb -pipe -Wimplicit-function-declaration
> -fdebug-prefix-map=/cygdrive/e/cyg_pub/devel/graphicsmagick/GraphicsMagick-1
> .3.24-1.i686/build=/usr/src/debug/GraphicsMagick-1.3.24-1
> -fdebug-prefix-map=/cygdrive/e/cyg_pub/devel/graphicsmagick/GraphicsMagick-1
> .3.24-1.i686/src/GraphicsMagick-1.3.24=/usr/src/debug/GraphicsMagick-1.3.24-
> 1 -Wall -g -W -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter
> -Wl,--no-keep-memory -L/usr/lib -L/usr/local/lib -o xastir.exe alert.o awk.o
> bulletin_gui.o color.o datum.o db.o db_gis.o dbfawk.o draw_symbols.o
> fcc_data.o festival.o fetch_remote.o geo-find.o geocoder_gui.o gps.o
> hashtable.o hashtable_itr.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_cache.o map_dos.o map_gdal.o map_geo.o
> map_gnis.o map_OSM.o map_pop.o map_pdb.o map_shp.o map_tif.o map_tiger.o
> map_WMS.o messages.o messages_gui.o objects.o popup_gui.o rac_data.o
> rotated.o rpl_malloc.o shp_hash.o snprintf.o sound.o tile_mgmnt.o
> track_gui.o util.o view_message_gui.o wx.o wx_gui.o x_spider.o xa_config.o
> compiledate.o -Lrtree -lrtree -lXm -lXt -lX11 -lGraphicsMagick -ljbig
> -lwebp -llcms2 -ltiff -lfreetype -ljasper -ljpeg -lpng16 -lwmflite -lXext
> -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lgdi32 -lm -lpthread -ldb-4.8
> -lintl -lrt -lXm -lXt -lXext -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre
> -ltiff -lgeotiff
> main.o: In function `create_appshell':
> /home/root/src/Xastir/src/main.c:7269: undefined reference to
> `no_data_selected'
> /home/root/src/Xastir/src/main.c:7295: undefined reference to
> `no_data_selected'
> /home/root/src/Xastir/src/main.c:7312: undefined reference to
> `no_data_selected'
> /home/root/src/Xastir/src/main.c:7329: undefined reference to
> `no_data_selected'
> /home/root/src/Xastir/src/main.c:7346: undefined reference to
> `no_data_selected'
> main.o:/home/root/src/Xastir/src/main.c:7363: more undefined references to
> `no_data_selected' follow
> maps.o: In function `draw_minor_utm_mgrs_grid':
> /home/root/src/Xastir/src/maps.c:3027: undefined reference to `max_i'
> /home/root/src/Xastir/src/maps.c:3028: undefined reference to `max_i'
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:524: xastir.exe] Error 1
> make[3]: Leaving directory '/home/root/src/Xastir/src'
> make[2]: *** [Makefile:623: all-recursive] Error 1
> make[2]: Leaving directory '/home/root/src/Xastir/src'
> make[1]: *** [Makefile:693: all-recursive] Error 1
> make[1]: Leaving directory '/home/root/src/Xastir'
> make: *** [Makefile:416: all] Error 2
>
>
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at lists.xastir.org
> http://xastir.org/mailman/listinfo/xastir-dev
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
More information about the Xastir-dev
mailing list