Operating System - HP-UX
1830044 Members
6694 Online
109998 Solutions
New Discussion

/usr/ccs/bin/ld: Unsatisfied symbols: make Problem

 
rajeshj
New Member

/usr/ccs/bin/ld: Unsatisfied symbols: make Problem

I get the following error, when i compile on HP UNIX with gcc compiler of HP. I am using pthread library..

/usr/local/bin/gcc -D__BUILD__HPUX__VER -I../../config -I../../include -I../../src/ssp/vos/include -I. -I../../src/smp -I../../config/vrp -I../../src/smp/tcom obj/v_config.obj obj/v_root.obj obj/v_idle.obj obj/v_memory.obj obj/v_stamem.obj obj/v_task.obj obj/v_assert.obj obj/v_systime.obj obj/v_mt.obj obj/v_version.obj obj/v_timer.obj obj/v_comps.obj obj/v_cputick.obj obj/v_cpup.obj obj/osal_sm.obj obj/osal_task.obj obj/osal_queue.obj obj/osal_getcputick.obj obj/v_minilib.obj obj/v_sprintf.obj obj/v_sscanf.obj obj/v_nsprintf.obj obj/v_dosmem.obj -lpthread -lxnet
/usr/ccs/bin/ld: Unsatisfied symbols:
VOS_SplInit (first referenced in obj/v_root.obj) (code)
OSAL_TmGet (first referenced in obj/v_systime.obj) (code)
archPrintHandler (first referenced in obj/v_minilib.obj) (code)
OSAL_ReadEvent (first referenced in obj/v_task.obj) (code)
OSAL_DeleteEvent (first referenced in obj/v_task.obj) (code)
OSAL_WriteEvent (first referenced in obj/v_root.obj) (code)
VOS_SplIMP (first referenced in obj/v_memory.obj) (code)
OSAL_CreateEvent (first referenced in obj/v_task.obj) (code)
main (Not referenced yet! Probably due to -u option)
VOS_Splx (first referenced in obj/v_memory.obj) (code)
modf (first referenced in obj/v_sprintf.obj) (code)
get_stackframe (first referenced in obj/v_task.obj) (code)
VOS_GetCpuTick (first referenced in obj/v_task.obj) (code)
collect2: ld returned 1 exit status
make[1]: *** [vos] Error 1
make[1]: Leaving directory `/usr/rajesh/LIN_DOP/TARGET/work/hpux'
make: *** [vos.o] Error 2

I'll be thankful if anybody can guide me to resolve this error.