1 Reply Latest reply: Dec 4, 2012 6:43 AM by user878 RSS

    buildmqadapter command failure - linker error LNK1561

    user878
      I am using Tuxedo 11g and trying to build mq adapter resources to connect to MQ but I am getting below error:

      R:\3rdparty\TUXEDO\windows\TUXEDO~1\bin>buildmqadapter.exe -v
      %TUXDIR%\bin\buildserver -r MQSeries_XA_RMI -o R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin\TM_MQI -s TM_MQI -f R:
      \3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\tm_mqi.obj -lR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxm
      q.lib -v
      cl /MD -I"%TUXDIR%"\include -FeR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin\TM_MQI BS-38ac.c R:\3rdparty\TUXEDO\w
      indows\tuxedo11gR1_VS2010\\lib\tm_mqi.obj "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib "%MQMDIR%"\tools\lib\
      mqmxa.lib "%MQMDIR%"\tools\lib\mqm.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.li
      b wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib R:\3rdparty\TUXEDO\windows\tuxed
      o11gR1_VS2010\\lib\libtuxmq.lib -link -implib:BS-38ac.lib
      Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
      Copyright (C) Microsoft Corporation. All rights reserved.

      Microsoft (R) Incremental Linker Version 10.00.40219.01
      Copyright (C) Microsoft Corporation. All rights reserved.

      /out:libfml.exe
      -implib:BS-38ac.lib
      "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libbuft.lib" R:\3rdparty\MQ\7.1\tools\lib\mqmxa.lib R:\3rdparty\MQ\7
      .1\tools\lib\mqm.lib "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libfml.lib"
      "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libfml32.lib" "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\li
      bengine.lib"
      wsock32.lib
      kernel32.lib
      advapi32.lib
      user32.lib
      gdi32.lib
      comdlg32.lib
      winspool.lib
      R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib
      LINK : warning LNK4001: no object files specified; libraries used
      LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
      LINK : fatal error LNK1561: entry point must be defined
      CMDTUX_CAT:4180: ERROR: can't execute cl /MD -I"%TUXDIR%"\include -FeR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin
      \TM_MQI BS-38ac.c R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\tm_mqi.obj "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\l
      ib\libbuft.lib "%MQMDIR%"\tools\lib\mqmxa.lib "%MQMDIR%"\tools\lib\mqm.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\li
      bfml32.lib "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspoo
      l.lib R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib -link -implib:BS-38ac.lib
      TUXMQ_CAT:100: ERROR: Cannot execute %TUXDIR%\bin\buildserver -r MQSeries_XA_RMI -o R:\3rdparty\TUXEDO\windows\tuxedo11g
      R1_VS2010\\bin\TM_MQI -s TM_MQI -f R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\tm_mqi.obj -lR:\3rdparty\TUXEDO\wi
      ndows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib -v
      %TUXDIR%\bin\buildserver -r MQSeries_XA_RMI -o R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin\TM_MQO -S -s ..MQPROC:
      MQPROC -f R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\tm_mqo.obj -lR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\
      \lib\libtuxmq.lib -v
      cl /MD -I"%TUXDIR%"\include -FeR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin\TM_MQO BS-2904.c R:\3rdparty\TUXEDO\w
      indows\tuxedo11gR1_VS2010\\lib\tm_mqo.obj "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib "%MQMDIR%"\tools\lib\
      mqmxa.lib "%MQMDIR%"\tools\lib\mqm.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.li
      b wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib R:\3rdparty\TUXEDO\windows\tuxed
      o11gR1_VS2010\\lib\libtuxmq.lib -link -implib:BS-2904.lib
      Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
      Copyright (C) Microsoft Corporation. All rights reserved.

      Microsoft (R) Incremental Linker Version 10.00.40219.01
      Copyright (C) Microsoft Corporation. All rights reserved.

      /out:libfml.exe
      -implib:BS-2904.lib
      "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libbuft.lib" R:\3rdparty\MQ\7.1\tools\lib\mqmxa.lib R:\3rdparty\MQ\7
      .1\tools\lib\mqm.lib "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libfml.lib"
      "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libfml32.lib" "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\li
      bengine.lib"
      wsock32.lib
      kernel32.lib
      advapi32.lib
      user32.lib
      gdi32.lib
      comdlg32.lib
      winspool.lib
      R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib
      LINK : warning LNK4001: no object files specified; libraries used
      LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
      LINK : fatal error LNK1561: entry point must be defined
      CMDTUX_CAT:4180: ERROR: can't execute cl /MD -I"%TUXDIR%"\include -FeR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin
      \TM_MQO BS-2904.c R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\tm_mqo.obj "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\l
      ib\libbuft.lib "%MQMDIR%"\tools\lib\mqmxa.lib "%MQMDIR%"\tools\lib\mqm.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\li
      bfml32.lib "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspoo
      l.lib R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib -link -implib:BS-2904.lib
      TUXMQ_CAT:100: ERROR: Cannot execute %TUXDIR%\bin\buildserver -r MQSeries_XA_RMI -o R:\3rdparty\TUXEDO\windows\tuxedo11g
      R1_VS2010\\bin\TM_MQO -S -s ..MQPROC:MQPROC -f R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\tm_mqo.obj -lR:\3rdpar
      ty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib -v
      %TUXDIR%\bin\buildserver -r MQSeries_XA_RMI -o R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin\TMQUEUE_MQM -s MQMQUEU
      E -f R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\enqdeqmq.obj -lR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\li
      b\libtuxmq.lib -v
      cl /MD -I"%TUXDIR%"\include -FeR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin\TMQUEUE_MQM BS-1bec.c R:\3rdparty\TUX
      EDO\windows\tuxedo11gR1_VS2010\\lib\enqdeqmq.obj "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib "%MQMDIR%"\too
      ls\lib\mqmxa.lib "%MQMDIR%"\tools\lib\mqm.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\liben
      gine.lib wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib R:\3rdparty\TUXEDO\window
      s\tuxedo11gR1_VS2010\\lib\libtuxmq.lib -link -implib:BS-1bec.lib
      Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
      Copyright (C) Microsoft Corporation. All rights reserved.

      Microsoft (R) Incremental Linker Version 10.00.40219.01
      Copyright (C) Microsoft Corporation. All rights reserved.

      /out:libfml.exe
      -implib:BS-1bec.lib
      "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libbuft.lib" R:\3rdparty\MQ\7.1\tools\lib\mqmxa.lib R:\3rdparty\MQ\7
      .1\tools\lib\mqm.lib "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libfml.lib"
      "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libfml32.lib" "R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\li
      bengine.lib"
      wsock32.lib
      kernel32.lib
      advapi32.lib
      user32.lib
      gdi32.lib
      comdlg32.lib
      winspool.lib
      R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib
      LINK : warning LNK4001: no object files specified; libraries used
      LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
      LINK : fatal error LNK1561: entry point must be defined
      CMDTUX_CAT:4180: ERROR: can't execute cl /MD -I"%TUXDIR%"\include -FeR:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\bin
      \TMQUEUE_MQM BS-1bec.c R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\enqdeqmq.obj "%TUXDIR%"\lib\libtux.lib "%TUX
      DIR%"\lib\libbuft.lib "%MQMDIR%"\tools\lib\mqmxa.lib "%MQMDIR%"\tools\lib\mqm.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"
      \lib\libfml32.lib "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
      winspool.lib R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib -link -implib:BS-1bec.lib
      TUXMQ_CAT:100: ERROR: Cannot execute %TUXDIR%\bin\buildserver -r MQSeries_XA_RMI -o R:\3rdparty\TUXEDO\windows\tuxedo11g
      R1_VS2010\\bin\TMQUEUE_MQM -s MQMQUEUE -f R:\3rdparty\TUXEDO\windows\tuxedo11gR1_VS2010\\lib\enqdeqmq.obj -lR:\3rdparty\
      TUXEDO\windows\tuxedo11gR1_VS2010\\lib\libtuxmq.lib -v

      R:\3rdparty\TUXEDO\windows\TUXEDO~1\bin>