system comands under linux

system comands under linux

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

3 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels 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.

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

Matt

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui