Menu

#12 Building error - undefined reference to `pCompileInfoTimestampChangelog'

open
guy
build (1)
high
2024-01-02
2024-01-02
No

I'm building guymager 0.8.13 in NixOS and as dependencies I'm mainly using libguytools, libewf-legacy (20140814), libbfio, qtbase, qmake, parted.

When I run the compilation, I get the following error:

/nix/store/1fn92b0783crypjcxvdv6ycmvi27by0j-binutils-2.40/bin/ld: /build/ccZt1DyJ.ltrans4.ltrans.o: in function `MainGo(int, char**, bool*)':
/build/guymager-0.8.13/main.cpp:420: undefined reference to `pCompileInfoTimestampChangelog'
/nix/store/1fn92b0783crypjcxvdv6ycmvi27by0j-binutils-2.40/bin/ld: /build/ccZt1DyJ.ltrans5.ltrans.o: in function `t_MainWindow::SlotAboutGuymager()':
/build/guymager-0.8.13/mainwindow.cpp:764: undefined reference to `pCompileInfoTimestampChangelog'
/nix/store/1fn92b0783crypjcxvdv6ycmvi27by0j-binutils-2.40/bin/ld: /build/ccZt1DyJ.ltrans6.ltrans.o: in function `t_Table::InfoAcquisitionStart(t_Acquisition*)':
/build/guymager-0.8.13/table.cpp:312: undefined reference to `pCompileInfoTimestampChangelog'
collect2: error: ld returned 1 exit status
make: *** [Makefile:330: guymager] Error 1
error: builder for '/nix/store/x1cglgk0qjqhjk4mx7wv0lpmk0xvv2hn-guymager-0.8.13.drv' failed with exit code 2;
       last 10 log lines:
       >   741 |    MainLocal.pCommandLine = (char *) malloc (Len);
       >       |                                             ^
       > /nix/store/1fn92b0783crypjcxvdv6ycmvi27by0j-binutils-2.40/bin/ld: /build/ccZt1DyJ.ltrans4.ltrans.o: in function `MainGo(int, char**, bool*)':
       > /build/guymager-0.8.13/main.cpp:420: undefined reference to `pCompileInfoTimestampChangelog'
       > /nix/store/1fn92b0783crypjcxvdv6ycmvi27by0j-binutils-2.40/bin/ld: /build/ccZt1DyJ.ltrans5.ltrans.o: in function `t_MainWindow::SlotAboutGuymager()':
       > /build/guymager-0.8.13/mainwindow.cpp:764: undefined reference to `pCompileInfoTimestampChangelog'
       > /nix/store/1fn92b0783crypjcxvdv6ycmvi27by0j-binutils-2.40/bin/ld: /build/ccZt1DyJ.ltrans6.ltrans.o: in function `t_Table::InfoAcquisitionStart(t_Acquisition*)':
       > /build/guymager-0.8.13/table.cpp:312: undefined reference to `pCompileInfoTimestampChangelog'
       > collect2: error: ld returned 1 exit status
       > make: *** [Makefile:330: guymager] Error 1
       For full logs, run 'nix log /nix/store/x1cglgk0qjqhjk4mx7wv0lpmk0xvv2hn-guymager-0.8.13.drv'.

Currently it is not clear for me what could miss to generate that "undefined reference". Do you have any idea?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB