![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pro*c compilation error | satvd | High Level Programming | 0 | 05-21-2008 02:04 AM |
| Compilation error : Please help | jagan_kalluri | High Level Programming | 1 | 05-20-2008 01:48 PM |
| compilation error | mannam srinivas | HP-UX | 2 | 04-18-2008 10:52 AM |
| compilation error | smanu | High Level Programming | 2 | 12-29-2006 07:11 AM |
| Regarding compilation error. | sweta | High Level Programming | 1 | 12-10-2006 08:30 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
Well, to the best of my knowledge, there is no real standard in placing programs. For example, I have seen gcc in /usr/bin, /opt/gcc/bin, /usr/contrib/bin, /usr/gnu/bin...
It's just where the admin / distributers want it... |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
gcc error
I am getting error like
root@kplapp2u # ./gcc /export/home/kplus/K2W/K2W.c Undefined first referenced symbol in file MQPUT /var/tmp//ccC2ryxn.o MQCLOSE /var/tmp//ccC2ryxn.o ICC_main_loop /var/tmp//ccC2ryxn.o MQCONN /var/tmp//ccC2ryxn.o MQDISC /var/tmp//ccC2ryxn.o MQOPEN /var/tmp//ccC2ryxn.o ICC_DataMsg_Display_msg /var/tmp//ccC2ryxn.o ICC_create /var/tmp//ccC2ryxn.o ICC_DataMsg_Buffer_get /var/tmp//ccC2ryxn.o ICC_DataMsg_Integer_set /var/tmp//ccC2ryxn.o ICC_DataMsg_init /var/tmp//ccC2ryxn.o ICC_DataMsg_setf /var/tmp//ccC2ryxn.o ICC_DataMsg_get /var/tmp//ccC2ryxn.o ICC_DataMsg_set /var/tmp//ccC2ryxn.o ICC_DataMsg_send_to_server /var/tmp//ccC2ryxn.o ld: fatal: Symbol referencing errors. Thanks UKT |
|
#10
|
|||
|
|||
|
Those are linker errors.
I assume you are linking icc code. Let's assume the run time library for icc is /usr/lib/libicc.so ( I don't know the correct name...) Then Code:
# ./gcc /export/home/kplus/K2W/K2W.c -L licc -o /export/home/kplus/K2W/K2W |
|||
| Google The UNIX and Linux Forums |