Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure #68

Closed
startergo opened this issue Aug 7, 2021 · 1 comment
Closed

Build failure #68

startergo opened this issue Aug 7, 2021 · 1 comment
Labels
Bug Something Went Wrong Resolved Issue Has Been Resolved

Comments

@startergo
Copy link
Contributor

Describe the Bug:
Debug build fails:

/Users/8570p/Documents/RefindPlus/edk2/RefindPlusPkg/BootMaster/lib.c:2305:44: warning: incompatible pointer types passing 'REFIT_VOLUME *' to parameter of type 'REFIT_VOLUME **'; take the address with & [-Wincompatible-pointer-types]
            VolDesc  = SanitiseVolumeName (Volume);
                                           ^~~~~~
                                           &
/Users/8570p/Documents/RefindPlus/edk2/RefindPlusPkg/BootMaster/lib.c:867:20: note: passing argument to parameter 'Volume' here
    REFIT_VOLUME **Volume
                   ^
/Users/8570p/Documents/RefindPlus/edk2/RefindPlusPkg/BootMaster/lib.c:2305:22: error: assigning to 'CHAR16 *' (aka 'unsigned short *') from incompatible type 'void'
            VolDesc  = SanitiseVolumeName (Volume);
                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [/Users/8570p/Documents/RefindPlus/edk2/Build/RefindPlus/DEBUG_XCODE5/X64/RefindPlusPkg/RefindPlus/OUTPUT/BootMaster/lib.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/8570p/Documents/RefindPlus/edk2/Build/RefindPlus/DEBUG_XCODE5/X64/RefindPlusPkg/RefindPlus]


build.py...
 : error F002: Failed to build module
	/Users/8570p/Documents/RefindPlus/edk2/RefindPlusPkg/RefindPlus.inf [X64, XCODE5, DEBUG]

- Failed -
Build end time: 11:59:54, Aug.07 2021
Build total time: 00:00:21


Runtime Error ... Exiting

To Reproduce:
run

/RefindPlus/edk2/000-BuildScript/RefindPlusBuilder.sh

Expected Behaviour:
no errors during build

Environment:

  • RefindPlus Version : current source
  • Hardware
    • Computer : Hack 8570W
    • Motherboard : HP
    • GPU Model : NVIDIA quadro 2000m
    • GPU Port : n/a
    • GPU Flash : [n/a
  • Affected OS : RefindPlus
@dakanji dakanji added the Bug Something Went Wrong label Aug 7, 2021
@dakanji
Copy link
Owner

dakanji commented Aug 7, 2021

Will fix. Thanks

@dakanji dakanji closed this as completed in 419f8a0 Aug 7, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2021
@dakanji dakanji added the Resolved Issue Has Been Resolved label Dec 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something Went Wrong Resolved Issue Has Been Resolved
Projects
None yet
Development

No branches or pull requests

2 participants