Shridharaswamy
New member
Hi:
I get an linker error on compiling only the Exe file. Ie
If I give
make -f make_proe
I get an error. But make -0f make_proe dll compiles fine and I get a dll file. Can any one help me solve this problem. I am posting the complete error message after compiling Wildfire 3.0 on Linux.
PROTOOL_SRC = /usr/local/ptc/proeWildfire3.0/protoolkit/
PROTOOL_SYS = /usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux
gcc -o pt_install_proe UserInit.o TestError.o TestRunmode.o UtilString.o TestMenubar.o TestMenu.o TestMessage.o /usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a -lm -ldl -lc
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctfileutil.o): In function `pro_temp_fname_str':
ctfileutil.c
.text+0xb7a4): warning: the use of `tempnam' is dangerous, better use `mkstemp'
TestMenu.o: In function `ProTestMenus':
TestMenu.c
.text+0x6b): undefined reference to `ProUtilMsgPrint'
TestMenu.o: In function `ProTestMenuPremode':
TestMenu.c
.text+0x986): undefined reference to `ProUtilMsgPrint'
TestMenu.o: In function `ProTestMenuPostmode':
TestMenu.c
.text+0xa5e): undefined reference to `ProUtilMsgPrint'
TestMenu.o: In function `ProTestMenuAction':
TestMenu.c
.text+0xb98): undefined reference to `ProUtilMsgPrint'
TestMenu.c
.text+0xec9): undefined reference to `ProUtilMsgPrint'
TestMenu.o:TestMenu.c
.text+0xfd0): more undefined references to `ProUtilMsgPrint' follow
TestMenu.o: In function `ProTestMacro':
TestMenu.c
.text+0xff0): undefined reference to `ProUtilStringGet'
TestMessage.o: In function `ProTestMessage':
TestMessage.c
.text+0x4b): undefined reference to `ProUtilMsgPrint'
TestMessage.c
.text+0x12e): undefined reference to `ProUtilMsgPrint'
TestMessage.c
.text+0x211): undefined reference to `ProUtilMsgPrint'
TestMessage.c
.text+0x2f8): undefined reference to `ProUtilMsgPrint'
TestMessage.c
.text+0x3ce): undefined reference to `ProUtilMsgPrint'
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctmisc.o): In function `set_trail_substitution':
ctmisc.c
.text+0x657d): undefined reference to `__ctype_b'
ctmisc.c
.text+0x6609): undefined reference to `__ctype_b'
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctmisc.o): In function `getenv_return_rest_of_string':
ctmisc.c
.text+0x67cc): undefined reference to `__ctype_b'
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctpfa.o): In function `pfa_parse_PRIVATE_in_ctpfa':
ctpfa.c
.text+0x10439): undefined reference to `__ctype_b'
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctpfa_mt.o): In function `is_vers_string':
ctpfa_mt.c
.text+0x11): undefined reference to `__ctype_b'
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctpfa_mt.o):ctpfa_mt.c
.text+0x40): more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
make: *** [pt_install_proe] Error 1
I get an linker error on compiling only the Exe file. Ie
If I give
make -f make_proe
I get an error. But make -0f make_proe dll compiles fine and I get a dll file. Can any one help me solve this problem. I am posting the complete error message after compiling Wildfire 3.0 on Linux.
PROTOOL_SRC = /usr/local/ptc/proeWildfire3.0/protoolkit/
PROTOOL_SYS = /usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux
gcc -o pt_install_proe UserInit.o TestError.o TestRunmode.o UtilString.o TestMenubar.o TestMenu.o TestMessage.o /usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a -lm -ldl -lc
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctfileutil.o): In function `pro_temp_fname_str':
ctfileutil.c
TestMenu.o: In function `ProTestMenus':
TestMenu.c
TestMenu.o: In function `ProTestMenuPremode':
TestMenu.c
TestMenu.o: In function `ProTestMenuPostmode':
TestMenu.c
TestMenu.o: In function `ProTestMenuAction':
TestMenu.c
TestMenu.c
TestMenu.o:TestMenu.c
TestMenu.o: In function `ProTestMacro':
TestMenu.c
TestMessage.o: In function `ProTestMessage':
TestMessage.c
TestMessage.c
TestMessage.c
TestMessage.c
TestMessage.c
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctmisc.o): In function `set_trail_substitution':
ctmisc.c
ctmisc.c
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctmisc.o): In function `getenv_return_rest_of_string':
ctmisc.c
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctpfa.o): In function `pfa_parse_PRIVATE_in_ctpfa':
ctpfa.c
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctpfa_mt.o): In function `is_vers_string':
ctpfa_mt.c
/usr/local/ptc/proeWildfire3.0/protoolkit//i486_linux/obj/pr otoolkit.a(ctpfa_mt.o):ctpfa_mt.c
collect2: ld returned 1 exit status
make: *** [pt_install_proe] Error 1