[Android Q&A, Help & Troubleshooting] sandix:
Hello guys, I have never ported something like this, or used this method. I have a log with a couple errors, probably something as easy as a typo, but I cannot seem to fix this. anyone like to assist?

In file included from external/gpg/g10/options.h:25:0,
from external/gpg/g10/passphrase.c:47:
external/gpg/g10/main.h:126:7: note: expected 'const unsigned char *' but argument is of type 'const char *'
external/gpg/g10/passphrase.c: In function 'hash_passphrase':
external/gpg/g10/passphrase.c:1033:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/gpg/g10/passphrase.c:1056:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/gpg/g10/passphrase.c:1060:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/gpg/g10/passphrase.c:1062:3: warning: pointer targets in passing argument 2 of 'md_write' differ in signedness [-Wpointer-sign]
In file included from external/gpg/g10/main.h:25:0,
from external/gpg/g10/options.h:25,
from external/gpg/g10/passphrase.c:47:
external/gpg/g10/../include/cipher.h:139:6: note: expected 'const byte *' but argument is of type 'char *'
external/gpg/g10/passphrase.c:1070:17: warning: pointer targets in passing argument 2 of 'md_write' differ in signedness [-Wpointer-sign]
In file included from external/gpg/g10/main.h:25:0,
from external/gpg/g10/options.h:25,
from external/gpg/g10/passphrase.c:47:
external/gpg/g10/../include/cipher.h:139:6: note: expected 'const byte *' but argument is of type 'char *'
external/gpg/g10/passphrase.c:1074:6: warning: pointer targets in passing argument 2 of 'md_write' differ in signedness [-Wpointer-sign]
In file included from external/gpg/g10/main.h:25:0,
from external/gpg/g10/options.h:25,
from external/gpg/g10/passphrase.c:47:
external/gpg/g10/../include/cipher.h:139:6: note: expected 'const byte *' but argument is of type 'char *'
Downloading ubuntu-touch-generic-initrd version 0.16
make: *** No rule to make target `/home/mitchell/out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp', needed by `/home/mitchell/out/target/common/obj/APPS/GalaxyS3Settings_intermediates/src/R.stamp'. Stop.
make: *** Waiting for unfinished jobs....
drivers/media/video/msm/Kconfig:123:warning: choice value used outside its choice group
drivers/media/video/msm/Kconfig:128:warning: choice value used outside its choice group
KCONFIG_SELINUX((null))
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT((null))
***
*** You must specify VARIANT_DEFCONFIG !
***
make[3]: *** [cyanogen_d2_defconfig] Error 1
make[2]: *** [cyanogen_d2_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/mitchell/kernel/samsung/d2'
make: *** [/home/mitchell/out/target/product/d2usc/obj/KERNEL_OBJ/.config] Error 2

Couple questions:

1. This part:

Downloading ubuntu-touch-generic-initrd version 0.16
make: *** No rule to make target `/home/mitchell/out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp', needed by `/home/mitchell/out/target/common/obj/APPS/GalaxyS3Settings_intermediates/src/R.stamp'. Stop.

This is the first error I can see, I have no idea how to fix it, and ideas?

============================================================

2. This:

KCONFIG_SELINUX((null))
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT((null))
***
*** You must specify VARIANT_DEFCONFIG !
***
make[3]: *** [cyanogen_d2_defconfig] Error 1
make[2]: *** [cyanogen_d2_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/mitchell/kernel/samsung/d2'
make: *** [/home/mitchell/out/target/product/d2usc/obj/KERNEL_OBJ/.config] Error 2

What does this even mean?

Any type of help is appriciated. Thank you.