Re: Help needed: Bug#618057: dialign: FTBFS: dialign.c:345: undefined reference to `para_read'
* Andreas Tille <email@example.com>, 2011-03-13, 19:09:
gcc -g -O2 -g -O2 dialign.c
/tmp/cc7u3cW4.o: In function `main':
/build/user-dialign_2.2.1-4-amd64-rVHY9k/dialign-2.2.1/src/dialign.c:345: undefined reference to `para_read'
/build/user-dialign_2.2.1-4-amd64-rVHY9k/dialign-2.2.1/src/dialign.c:619: undefined reference to `exclude_frg_read'
collect2: ld returned 1 exit status
Actually, the relevant part is a few lines above:
/usr/share/cdbs/1/rules/buildcore.mk:109: WARNING: DEB_OPT_FLAG is a deprecated variable
Here "deprecated" apparently means: is not used at all. :/
I'd recommend you:
- Stop using cdbs.
- Fix upstream makefile not to rely on having "-c" set in CFLAGS.