Using a custom function in MTA Application
Hi,
I am trying to use a custom function in my existing mta application.I have also included the header fule for the same but while linking i am getting undefined reference error.
Please find below the same:
gcc -c -m32 -fPIC -g -pthread -I/apps/brm/brmadmin/brm/include -I/apps/brm/brmadmin/src/include anet_pre_auth_first_charge.c*
gcc -c -m32 -fPIC -g -pthread -I/apps/brm/brmadmin/brm/include -I/apps/brm/brmadmin/src/include anet_pre_auth_ren_charge.c*
gcc -o anet_pre_auth_first_charge -m32 -fPIC -g -pthread -I/apps/brm/brmadmin/brm/include -I/apps/brm/brmadmin/src/include -L/apps/brm/brmadmin/brm/lib -m32 -Wl,--export-dynamic anet_pre_auth_first_charge.o -lportal -lmta -lpinsys -lpthread