Wine install problem - undefined reference to `bMenuVisible'

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
gooberpat
Level 1
Level 1
Posts: 9
Joined: Tue Sep 30, 2008 4:01 pm

Wine install problem - undefined reference to `bMenuVisible'

Post by gooberpat »

I installed 1.1.6 and it was working fine except for one application.
I installed 0.9.32 after changing my .wine directory to .wine_bak. (someone mentioned that they had got my application to work on the older version).
The application still didn't work, so I changed my .wine directory to .wine932, and changed my .wine_bak to .wine.
At that point I expected everything to be back to where I had been with everything working as before, but now if I try to install a new application I get a pop up window that says "Windows Installer was not found on this machine. Please download and install it" Applications that had previously been installed continued to run fine.

I tried running a fresh install, (after again renaming my .wine directory) and now I get"

make[2]: Entering directory `/home/pat/wine-git/dlls/urlmon/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pat/wine-git/dlls/urlmon/tests'
make[2]: Entering directory `/home/pat/wine-git/dlls/user32/tests'
../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole broadcast.o class.o clipboard.o combo.o cursoricon.o dce.o dde.o dialog.o edit.o generated.o input.o listbox.o menu.o monitor.o msg.o resource.o scroll.o static.o sysparams.o text.o win.o winstation.o wsprintf.o testlist.o resource.res -o user32_test.exe.so ../../../libs/port/libwine_port.a -luser32 -lgdi32 -ladvapi32 -lkernel32
menu.o: In function `WndProc':
/home/pat/wine-git/dlls/user32/tests/menu.c:1779: undefined reference to `bMenuVisible'
/usr/bin/ld: menu.o: relocation R_386_GOTOFF against undefined symbol `bMenuVisible' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [user32_test.exe.so] Error 2
make[2]: Leaving directory `/home/pat/wine-git/dlls/user32/tests'
make[1]: *** [user32/tests] Error 2
make[1]: Leaving directory `/home/pat/wine-git/dlls'
make: *** [dlls] Error 2
[root@pat wine-git]#

Is there something left over from the old install that needs to be removed?
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Re: Wine install problem - undefined reference to `bMenuVisi

Post by Usurp »

gooberpat wrote: I tried running a fresh install, (after again renaming my .wine directory) and now I get"

make[2]: Entering directory `/home/pat/wine-git/dlls/urlmon/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/pat/wine-git/dlls/urlmon/tests'
make[2]: Entering directory `/home/pat/wine-git/dlls/user32/tests'
../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole broadcast.o class.o clipboard.o combo.o cursoricon.o dce.o dde.o dialog.o edit.o generated.o input.o listbox.o menu.o monitor.o msg.o resource.o scroll.o static.o sysparams.o text.o win.o winstation.o wsprintf.o testlist.o resource.res -o user32_test.exe.so ../../../libs/port/libwine_port.a -luser32 -lgdi32 -ladvapi32 -lkernel32
menu.o: In function `WndProc':
/home/pat/wine-git/dlls/user32/tests/menu.c:1779: undefined reference to `bMenuVisible'
/usr/bin/ld: menu.o: relocation R_386_GOTOFF against undefined symbol `bMenuVisible' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [user32_test.exe.so] Error 2
make[2]: Leaving directory `/home/pat/wine-git/dlls/user32/tests'
make[1]: *** [user32/tests] Error 2
make[1]: Leaving directory `/home/pat/wine-git/dlls'
make: *** [dlls] Error 2
[root@pat wine-git]#

Is there something left over from the old install that needs to be removed?
This is not due to the old install, since we are actually building it, and quite interesting, since I get the same since months.
Im running Fedora 9 here, whats your system ?
gooberpat
Level 1
Level 1
Posts: 9
Joined: Tue Sep 30, 2008 4:01 pm

Wine install problem

Post by gooberpat »

I'm running Fedora 9 as well.
gooberpat
Level 1
Level 1
Posts: 9
Joined: Tue Sep 30, 2008 4:01 pm

Sniffer, NIC and 1.1.7

Post by gooberpat »

I loaded 1.1.7 and I am now able to install and run my sniffer program.
However, the application doesn't seem to know I have any NICs installed.

Other windows applications running under wine know about the NIC because I am able to print from an application to a network printer.

Any hope for this application?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Sniffer, NIC and 1.1.7

Post by vitamin »

gooberpat wrote:I loaded 1.1.7 and I am now able to install and run my sniffer program.
However, the application doesn't seem to know I have any NICs installed.

Any hope for this application?
No. It probably uses winpcap (or similar low-level access to the "nic" inside the kernel).
Just use wireshark.
gooberpat
Level 1
Level 1
Posts: 9
Joined: Tue Sep 30, 2008 4:01 pm

Sniffer, NIC and 1.1.7

Post by gooberpat »

Thanks for the info.

I have been using WireShark, but this particular application was designed specifically for the SIP protocol, and I liked the way it worked (on Windows).

Oh well I guess we can't have it all.

Thanks for everyone's help.
Locked