Portál AbcLinuxu, 23. července 2025 21:51
configure:2873: gcc -o conftest -g -O2 -I/usr/local/include/ -L/usr/local/lib/ conftest.c -lssl >&5
/home/nikdo/tmp/ccSfYfjp.o(.text+0xc): In function `main':
/bigdisk/data/stazeno/inet/createtorrent-1.1.3/conftest.c:22:
undefined reference to `SHA1'
$ gcc main.c
/home/nikdo/tmp/cc0xfZe1.o(.text+0x5f4): In function `create_from_file':
: undefined reference to `SHA1'
/home/nikdo/tmp/cc0xfZe1.o(.text+0x826): In function `add_file':
: undefined reference to `SHA1'
/home/nikdo/tmp/cc0xfZe1.o(.text+0xc00): In function `create_from_directory':
: undefined reference to `SHA1'
collect2: ld returned 1 exit status
$ gcc -lssl main.c
/home/nikdo/tmp/ccPyV9pe.o(.text+0x5f4): In function `create_from_file':
: undefined reference to `SHA1'
/home/nikdo/tmp/ccPyV9pe.o(.text+0x826): In function `add_file':
: undefined reference to `SHA1'
/home/nikdo/tmp/ccPyV9pe.o(.text+0xc00): In function `create_from_directory':
: undefined reference to `SHA1'
collect2: ld returned 1 exit status
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.