Commit ca17ff0a authored by claes's avatar claes

usbio fix

parent 3c38dc63
#! /bin/bash #! /bin/bash
# #
# Proview $Id: wb_gcg.sh,v 1.5 2007-11-26 13:11:32 claes Exp $ # Proview $Id: wb_gcg.sh,v 1.6 2007-11-26 13:22:17 claes Exp $
# Copyright (C) 2005 SSAB Oxelsund AB. # Copyright (C) 2005 SSAB Oxelsund AB.
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
...@@ -167,7 +167,7 @@ CompileRtNode() ...@@ -167,7 +167,7 @@ CompileRtNode()
ld_opt_tmp="`cat $pwrp_exe/$FileName.opt`" ld_opt_tmp="`cat $pwrp_exe/$FileName.opt`"
ld_opt="`eval echo $ld_opt_tmp`" ld_opt="`eval echo $ld_opt_tmp`"
else else
ld_opt="`eval echo $pwr_obj/rt_io_user.o -lpwr_usbio_dummy`" ld_opt="`eval echo $pwr_obj/rt_io_user.o -lpwr_rt -lpwr_usbio_dummy`"
fi fi
if g++ $link_debug -L/lib/thread -L$pwrp_lib -L$pwrp_cmn/x86_linux/lib -L$pwr_lib \ if g++ $link_debug -L/lib/thread -L$pwrp_lib -L$pwrp_cmn/x86_linux/lib -L$pwr_lib \
...@@ -177,7 +177,7 @@ CompileRtNode() ...@@ -177,7 +177,7 @@ CompileRtNode()
$Libs \ $Libs \
$ld_opt \ $ld_opt \
$pwr_obj/pwr_msg_rt.o $pwr_obj/pwr_msg_co.o \ $pwr_obj/pwr_msg_rt.o $pwr_obj/pwr_msg_co.o \
-lrt -lpwr_remote -lpwr_nmps -lpwr_rt -lpwr_co -lrpcsvc -lpwr_msg_dummy -lpthread -lm -lusbio -lrt -lpwr_remote -lpwr_nmps -lpwr_rt -lpwr_co -lrpcsvc -lpwr_msg_dummy -lpthread -lm
then then
echo "-- Plc program linked for $OsStr $say_linkdebug node $FileName" echo "-- Plc program linked for $OsStr $say_linkdebug node $FileName"
gcg_status=$gcg__success gcg_status=$gcg__success
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment