patricio@patricio-desktop:~$ sudo apt-get install zlib1g zlib1g-dev libssl-dev build-essentials Reading package lists... Done Building dependency tree Reading state information... Done zlib1g is already the newest version. zlib1g-dev is already the newest version. zlib1g-dev set to manually installed. E: Couldn't find package build-essentials
patricio@patricio-desktop:~/src$ make cc uif2iso.c -O2 -s -o uif2iso -lz -lssl -lcrypto uif2iso.c:33:25: error: openssl/des.h: No such file or directory uif2iso.c:126: error: expected declaration specifiers or ‘...’ before ‘DES_key_schedule’ uif2iso.c:131: error: expected ‘)’ before ‘*’ token uif2iso.c: In function ‘main’: uif2iso.c:159: error: ‘DES_key_schedule’ undeclared (first use in this function) uif2iso.c:159: error: (Each undeclared identifier is reported only once uif2iso.c:159: error: for each function it appears in.) uif2iso.c:159: error: ‘ctx’ undeclared (first use in this function) uif2iso.c:311: error: too many arguments to function ‘blhr_unzip’ uif2iso.c:323: error: too many arguments to function ‘blhr_unzip’ uif2iso.c:333: error: too many arguments to function ‘blhr_unzip’ uif2iso.c: At top level: uif2iso.c:806: error: expected declaration specifiers or ‘...’ before ‘DES_key_schedule’ uif2iso.c: In function ‘blhr_unzip’: uif2iso.c:813: error: ‘ctx’ undeclared (first use in this function) uif2iso.c: At top level: uif2iso.c:952: error: expected ‘)’ before ‘*’ token make: *** [all] Error 1
What am I doing wrong?
Thanks!
patricio@patricio-desktop:~$ sudo apt-get install zlib1g zlib1g-dev libssl-dev build-essentialsReading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g is already the newest version.
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
E: Couldn't find package build-essentials
patricio@patricio-desktop:~/src$ make
cc uif2iso.c -O2 -s -o uif2iso -lz -lssl -lcrypto
uif2iso.c:33:25: error: openssl/des.h: No such file or directory
uif2iso.c:126: error: expected declaration specifiers or ‘...’ before ‘DES_key_schedule’
uif2iso.c:131: error: expected ‘)’ before ‘*’ token
uif2iso.c: In function ‘main’:
uif2iso.c:159: error: ‘DES_key_schedule’ undeclared (first use in this function)
uif2iso.c:159: error: (Each undeclared identifier is reported only once
uif2iso.c:159: error: for each function it appears in.)
uif2iso.c:159: error: ‘ctx’ undeclared (first use in this function)
uif2iso.c:311: error: too many arguments to function ‘blhr_unzip’
uif2iso.c:323: error: too many arguments to function ‘blhr_unzip’
uif2iso.c:333: error: too many arguments to function ‘blhr_unzip’
uif2iso.c: At top level:
uif2iso.c:806: error: expected declaration specifiers or ‘...’ before ‘DES_key_schedule’
uif2iso.c: In function ‘blhr_unzip’:
uif2iso.c:813: error: ‘ctx’ undeclared (first use in this function)
uif2iso.c: At top level:
uif2iso.c:952: error: expected ‘)’ before ‘*’ token
make: *** [all] Error 1