Results 1 to 3 of 3

Thread: warning: cannot find entry symbol nable-stdcall-fixup;

  1. #1
    Join Date
    Apr 2011
    Posts
    231
    Thanks
    141
    Thanked 6 Times in 5 Posts

    Default warning: cannot find entry symbol nable-stdcall-fixup;

    This mingw contains gcc 4.6.3, with name - i686-w64-mingw32.

    Qt SDK 2010

    On Windows, a Qt's.pro file w.r.t a hello world program:

    Qt Code:
    1. QT += core gui
    2. TEMPLATE = app
    3. TARGET = ef
    4.  
    5. SOURCES = ef.cpp
    6. DEPENDPATH += .
    7.  
    8. INCLUDEPATH += .
    9. INCLUDEPATH += c:/R-2.15.1/include
    10. INCLUDEPATH += c:/R-2.15.1/library/Rcpp/include
    11. INCLUDEPATH += c:/R-2.15.1/library/RInside/include
    12.  
    13. LIBS += -L c:/R-2.15.1/bin/i386 -lR
    14. LIBS += -L c:/R-2.15.1/library/Rcpp/libs/i386 -lRcpp
    15. LIBS += -L c:/R-2.15.1/library/RInside/libs/i386 -lRInside
    To copy to clipboard, switch view to plain text mode 

    What needs to be added in the pro file to solve this?
    Attached Images Attached Images

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: warning: cannot find entry symbol nable-stdcall-fixup;

    You need to repair the broken linker option that is being created. The correct option is --enable-stdcall-fixup and your command line option has only a single hyphen. I don't know where that will be coming from: are you fiddling with any of the LFLAGS variables?

  3. The following user says thank you to ChrisW67 for this useful post:

    TheIndependentAquarius (5th November 2012)

  4. #3
    Join Date
    Apr 2011
    Posts
    231
    Thanks
    141
    Thanked 6 Times in 5 Posts

    Default Re: warning: cannot find entry symbol nable-stdcall-fixup;

    Thanks for responding.

    The makefile that is getting generated "automatically" from that pro file is as follows:

    The pro file contains only the code that I have shown, nothing more.

    What else should I provide here?
    Qt Code:
    1. #############################################################################
    2. # Makefile for building: ef
    3. # Generated by qmake (2.01a) (Qt 4.6.1) on: Mon Nov 5 00:47:57 2012
    4. # Project: temp.pro
    5. # Template: app
    6. # Command: c:\Qt\2010.01\qt\bin\qmake.exe -win32 -o Makefile temp.pro
    7. #############################################################################
    8.  
    9. first: debug
    10. install: debug-install
    11. uninstall: debug-uninstall
    12. MAKEFILE = Makefile
    13. QMAKE = c:\Qt\2010.01\qt\bin\qmake.exe
    14. DEL_FILE = del
    15. CHK_DIR_EXISTS= if not exist
    16. MKDIR = mkdir
    17. COPY = copy /y
    18. COPY_FILE = $(COPY)
    19. COPY_DIR = xcopy /s /q /y /i
    20. INSTALL_FILE = $(COPY_FILE)
    21. INSTALL_PROGRAM = $(COPY_FILE)
    22. INSTALL_DIR = $(COPY_DIR)
    23. DEL_FILE = del
    24. SYMLINK =
    25. DEL_DIR = rmdir
    26. MOVE = move
    27. CHK_DIR_EXISTS= if not exist
    28. MKDIR = mkdir
    29. SUBTARGETS = \
    30. debug \
    31. release
    32.  
    33. debug: $(MAKEFILE).Debug FORCE
    34. $(MAKE) -f $(MAKEFILE).Debug
    35. debug-make_default: $(MAKEFILE).Debug FORCE
    36. $(MAKE) -f $(MAKEFILE).Debug
    37. debug-make_first: $(MAKEFILE).Debug FORCE
    38. $(MAKE) -f $(MAKEFILE).Debug first
    39. debug-all: $(MAKEFILE).Debug FORCE
    40. $(MAKE) -f $(MAKEFILE).Debug all
    41. debug-clean: $(MAKEFILE).Debug FORCE
    42. $(MAKE) -f $(MAKEFILE).Debug clean
    43. debug-distclean: $(MAKEFILE).Debug FORCE
    44. $(MAKE) -f $(MAKEFILE).Debug distclean
    45. debug-install: $(MAKEFILE).Debug FORCE
    46. $(MAKE) -f $(MAKEFILE).Debug install
    47. debug-uninstall: $(MAKEFILE).Debug FORCE
    48. $(MAKE) -f $(MAKEFILE).Debug uninstall
    49. release: $(MAKEFILE).Release FORCE
    50. $(MAKE) -f $(MAKEFILE).Release
    51. release-make_default: $(MAKEFILE).Release FORCE
    52. $(MAKE) -f $(MAKEFILE).Release
    53. release-make_first: $(MAKEFILE).Release FORCE
    54. $(MAKE) -f $(MAKEFILE).Release first
    55. release-all: $(MAKEFILE).Release FORCE
    56. $(MAKE) -f $(MAKEFILE).Release all
    57. release-clean: $(MAKEFILE).Release FORCE
    58. $(MAKE) -f $(MAKEFILE).Release clean
    59. release-distclean: $(MAKEFILE).Release FORCE
    60. $(MAKE) -f $(MAKEFILE).Release distclean
    61. release-install: $(MAKEFILE).Release FORCE
    62. $(MAKE) -f $(MAKEFILE).Release install
    63. release-uninstall: $(MAKEFILE).Release FORCE
    64. $(MAKE) -f $(MAKEFILE).Release uninstall
    65.  
    66. Makefile: temp.pro ../Qt/2010.01/qt/mkspecs/win32-g++/qmake.conf ../Qt/2010.01/qt/mkspecs/qconfig.pri \
    67. ../Qt/2010.01/qt/mkspecs/features/qt_functions.prf \
    68. ../Qt/2010.01/qt/mkspecs/features/qt_config.prf \
    69. ../Qt/2010.01/qt/mkspecs/features/exclusive_builds.prf \
    70. ../Qt/2010.01/qt/mkspecs/features/default_pre.prf \
    71. ../Qt/2010.01/qt/mkspecs/features/win32/default_pre.prf \
    72. ../Qt/2010.01/qt/mkspecs/features/debug.prf \
    73. ../Qt/2010.01/qt/mkspecs/features/debug_and_release.prf \
    74. ../Qt/2010.01/qt/mkspecs/features/default_post.prf \
    75. ../Qt/2010.01/qt/mkspecs/features/win32/default_post.prf \
    76. ../Qt/2010.01/qt/mkspecs/features/win32/rtti.prf \
    77. ../Qt/2010.01/qt/mkspecs/features/win32/exceptions.prf \
    78. ../Qt/2010.01/qt/mkspecs/features/win32/stl.prf \
    79. ../Qt/2010.01/qt/mkspecs/features/shared.prf \
    80. ../Qt/2010.01/qt/mkspecs/features/warn_on.prf \
    81. ../Qt/2010.01/qt/mkspecs/features/qt.prf \
    82. ../Qt/2010.01/qt/mkspecs/features/win32/thread.prf \
    83. ../Qt/2010.01/qt/mkspecs/features/moc.prf \
    84. ../Qt/2010.01/qt/mkspecs/features/win32/windows.prf \
    85. ../Qt/2010.01/qt/mkspecs/features/resources.prf \
    86. ../Qt/2010.01/qt/mkspecs/features/uic.prf \
    87. ../Qt/2010.01/qt/mkspecs/features/yacc.prf \
    88. ../Qt/2010.01/qt/mkspecs/features/lex.prf \
    89. ../Qt/2010.01/qt/mkspecs/features/include_source_dir.prf \
    90. c:/Qt/2010.01/qt/lib/qtmaind.prl
    91. $(QMAKE) -win32 -o Makefile temp.pro
    92. ..\Qt\2010.01\qt\mkspecs\qconfig.pri:
    93. ..\Qt\2010.01\qt\mkspecs\features\qt_functions.prf:
    94. ..\Qt\2010.01\qt\mkspecs\features\qt_config.prf:
    95. ..\Qt\2010.01\qt\mkspecs\features\exclusive_builds.prf:
    96. ..\Qt\2010.01\qt\mkspecs\features\default_pre.prf:
    97. ..\Qt\2010.01\qt\mkspecs\features\win32\default_pre.prf:
    98. ..\Qt\2010.01\qt\mkspecs\features\debug.prf:
    99. ..\Qt\2010.01\qt\mkspecs\features\debug_and_release.prf:
    100. ..\Qt\2010.01\qt\mkspecs\features\default_post.prf:
    101. ..\Qt\2010.01\qt\mkspecs\features\win32\default_post.prf:
    102. ..\Qt\2010.01\qt\mkspecs\features\win32\rtti.prf:
    103. ..\Qt\2010.01\qt\mkspecs\features\win32\exceptions.prf:
    104. ..\Qt\2010.01\qt\mkspecs\features\win32\stl.prf:
    105. ..\Qt\2010.01\qt\mkspecs\features\shared.prf:
    106. ..\Qt\2010.01\qt\mkspecs\features\warn_on.prf:
    107. ..\Qt\2010.01\qt\mkspecs\features\qt.prf:
    108. ..\Qt\2010.01\qt\mkspecs\features\win32\thread.prf:
    109. ..\Qt\2010.01\qt\mkspecs\features\moc.prf:
    110. ..\Qt\2010.01\qt\mkspecs\features\win32\windows.prf:
    111. ..\Qt\2010.01\qt\mkspecs\features\resources.prf:
    112. ..\Qt\2010.01\qt\mkspecs\features\uic.prf:
    113. ..\Qt\2010.01\qt\mkspecs\features\yacc.prf:
    114. ..\Qt\2010.01\qt\mkspecs\features\lex.prf:
    115. ..\Qt\2010.01\qt\mkspecs\features\include_source_dir.prf:
    116. c:\Qt\2010.01\qt\lib\qtmaind.prl:
    117. qmake: qmake_all FORCE
    118. @$(QMAKE) -win32 -o Makefile temp.pro
    119.  
    120. qmake_all: FORCE
    121.  
    122. make_default: debug-make_default release-make_default FORCE
    123. make_first: debug-make_first release-make_first FORCE
    124. all: debug-all release-all FORCE
    125. clean: debug-clean release-clean FORCE
    126. distclean: debug-distclean release-distclean FORCE
    127. -$(DEL_FILE) Makefile
    128.  
    129. debug-mocclean: $(MAKEFILE).Debug
    130. $(MAKE) -f $(MAKEFILE).Debug mocclean
    131. release-mocclean: $(MAKEFILE).Release
    132. $(MAKE) -f $(MAKEFILE).Release mocclean
    133. mocclean: debug-mocclean release-mocclean
    134.  
    135. debug-mocables: $(MAKEFILE).Debug
    136. $(MAKE) -f $(MAKEFILE).Debug mocables
    137. release-mocables: $(MAKEFILE).Release
    138. $(MAKE) -f $(MAKEFILE).Release mocables
    139. mocables: debug-mocables release-mocables
    140. FORCE:
    141.  
    142. $(MAKEFILE).Debug: Makefile
    143. $(MAKEFILE).Release: Makefile
    To copy to clipboard, switch view to plain text mode 


    Added after 1 13 minutes:


    I had installed this mingw by downloading it from here: http://code.google.com/p/mingw-builds/ and copying all its files in the mingw folder inside Qt.
    Last edited by TheIndependentAquarius; 5th November 2012 at 10:10.

Similar Threads

  1. Replies: 6
    Last Post: 17th August 2012, 20:35
  2. Replies: 0
    Last Post: 10th May 2011, 14:58
  3. Replies: 3
    Last Post: 22nd February 2011, 08:53
  4. Replies: 1
    Last Post: 22nd June 2010, 19:56
  5. Replies: 2
    Last Post: 22nd May 2006, 22:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.