system comands under linux

system comands under linux

Imagen de matthewhort

We have old code that has been running on Windows NT using the Compaq compiler and on HP Unix using the HP compiler. For system commands we use SYSTEMQQ and SYSTEM respectively. I have been trying to get either of these commands to work under linux using Intel v7. The documentation is very brief in the library reference manual.

SYSTEM: The interface structure compiles, but when I include a the SYSTEM request I get the error: 'undefined reference to 'system_' '

SYSTEMQQ using the USE statement (with the use only option) I get eactly the same error once I include hte SYSTEMQQ command.

I would appreciate any help.

Matt

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de TimP (Intel)

If you are using 'ifc -Vaxlib' for both compile and link steps, call system() should work. If you are linking some other way, you would need to specify the appropriate library, It looks like you may have omitted -Vaxlib.

Imagen de matthewhort

You were correct I had not specified -Vaxlib. Thank you for your help our code is now fully operational.

Matt

Inicie sesión para dejar un comentario.