Hi, I updated gnulib and I now have an error when compiling my freedink project:
gcc -g -O2 -Wall -std=c99 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `"../autotools/reloc-ldflags" "x86_64-unknown-linux-gnu" "" /usr/local/bin` -o freedink bgm.o dinkini.o dinkc.o dinkc_bindings.o dinkc_console.o dinkc_sp_custom.o dinkvar.o fastfile.o game_engine.o str_util.o io_util.o sfx.o gfx.o gfx_fade.o gfx_tiles.o gfx_palette.o gfx_fonts.o init.o rect.o input.o binreloc.o freedink_xpm.o paths.o log.o gfx_sprites.o vgasys_fon.o msgbox.o i18n.o meminfo.o screen.o SDL_rwops_libzip.o freedink.o update_frame.o ../gnulib/lib/libgnu.a -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_gfx -lpthread -L/usr/lib -lSDL -lzip -lz -lfontconfig -lm paths.c:90: error: undefined reference to 'relocate' progreloc.c:297: error: undefined reference to 'compute_curr_prefix' progreloc.c:302: error: undefined reference to 'set_relocation_prefix' collect2: ld returned 1 exit status (paths.c is my source file) I note that relocatable.c is not included anymore in libgnu.a: ar cru libgnu.a allocator.o areadlink.o areadlink-with-size.o canonicalize.o careadlinkat.o cloexec.o dirname.o basename.o dirname-lgpl.o basename-lgpl.o stripslash.o exitfail.o fd-hook.o file-set.o filenamecat-lgpl.o hash.o hash-pjw.o hash-triple.o malloca.o openat-die.o progname.o same.o save-cwd.o dup-safer.o fd-safer.o pipe-safer.o xmalloc.o xalloc-die.o xgetcwd.o xreadlink.o xstrndup.o asnprintf.o chdir-long.o fcntl.o getcwd.o getcwd-lgpl.o getopt.o getopt1.o openat-proc.o printf-args.o printf-parse.o progreloc.o vasnprintf.o My modules in gnulib/m4/gnulib-cache.m4: gl_MODULES([ alloca canonicalize dirname getopt-gnu gettext hash relocatable-prog strcase strdup-posix strings vasprintf xalloc ]) I didn't find a note in NEWS that would recommend a change in the freedink code. Any tip? :) -- Sylvain
