Skip to content

actprep build error #9

meatonkdi opened this Issue Jan 21, 2013 · 2 comments

2 participants


I am receiving the error below when trying to build actprep.

matt@matt-work:~/source/act$ make -f Makesalt
echo "Building salt.o"
Building salt.o
gcc -g -fno-common -std=gnu99 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -MMD -o salt.o -c -I. -I/usr/include salt.c
echo "Linking actprep"
Linking actprep
gcc -g -fno-common -std=gnu99 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -MMD -o actprep ./salt.o -lpthread -lrt -lssl
./salt.o: In function rand_fill':
/home/matt/source/act/salt.c:429: undefined reference to
./salt.o: In function rand_seed':
/home/matt/source/act/salt.c:458: undefined reference to
collect2: error: ld returned 1 exit status
make: *** [actprep] Error 1

kavink commented Feb 26, 2013

For Ubuntu, Changing the line in Makesalt to

gcc -g -fno-common -std=gnu99 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -MMD -o actprep ./salt.o -lpthread -lrt -lcrypto -lz

will fix the issue.

@kavink kavink added a commit to kavink/act that referenced this issue Feb 26, 2013
@kavink kavink fixes #9 add -lcrypto to Makesalt 56cccab

Thank you that worked fine.

@meatonkdi meatonkdi closed this Feb 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.