POLINK: error: Unresolved external symbol '__fltused'.
POLINK: error: Unresolved external symbol '__fltused'.
Just upgraded to 3.91 and getting the above error. I've search the forums but the posts about this type of error all seem to be about compiling libs. I'm only compiling PB code (which compiled ok in 3.81). Anyone know the solution?
PS: jaPBe does not report linker errors. I had to used PB's own editor.
PS: jaPBe does not report linker errors. I had to used PB's own editor.
-
FloHimself
- Enthusiast

- Posts: 229
- Joined: Wed May 14, 2003 3:38 pm
- Location: Lüneburg - Germany
-
GreenGiant
- Enthusiast

- Posts: 252
- Joined: Fri Feb 20, 2004 5:43 pm
-
FloHimself
- Enthusiast

- Posts: 229
- Joined: Wed May 14, 2003 3:38 pm
- Location: Lüneburg - Germany
-
GreenGiant
- Enthusiast

- Posts: 252
- Joined: Fri Feb 20, 2004 5:43 pm
It was this viewtopic.php?t=12398 that made me think of it. A problem with a native command that was caused by a user library, I assumed because of a duplicated command (doesn't actually say that). Hmm so if it cant be a duplicated command then it seems userlibs can mess up native functions some other way. You could try uninstalling all the userlibs even if they're not being used in the program.
You want an easy exsample to produce the linker error?
Here it is:
Some functions that worked before 3.91 no give this error.
This happens on a fresh installed PC as well, no userlibs at all.
(only jaPBe installed)
Here it is:
Code: Select all
Debug GetEnvironmentStrings_()
This happens on a fresh installed PC as well, no userlibs at all.
(only jaPBe installed)
PB 5.40 LTS, W7,8,10 64bit and Mint x64
-
TerryHough
- Enthusiast

- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
I had a similar error when I first installed 3.91. Worked sometimes, sometimes I got a POLink error.
I don't remember the details, but the Debugger portion of the install was all messed up somehow. I deleted some files, reinstalled, and all was well. At the time I just thought I had done something wrong myself.
I don't remember the details, but the Debugger portion of the install was all messed up somehow. I deleted some files, reinstalled, and all was well. At the time I just thought I had done something wrong myself.
Thanks for the suggestions. I will check for conflicting libs although I have already removed a couple of custom commands that PB identified itself and also changed memory allocation code. These changes got me pass the compiler but maybe the compiler isn't catching everything. I imagined Fred could finger the likely problem with no trouble. It maybe my code or some incompatibility with 391 but like I said it compiled fine in 382.
The code is spread between at least a dozen files so I dread the idea of hacking it to bits just to isolate the offending code (if it actually is the code). Maybe I'll try a fresh install - the PB directory is overdue a spring cleaning
Anyway, keep the suggestions coming and thanks.
The code is spread between at least a dozen files so I dread the idea of hacking it to bits just to isolate the offending code (if it actually is the code). Maybe I'll try a fresh install - the PB directory is overdue a spring cleaning
-
GreenGiant
- Enthusiast

- Posts: 252
- Joined: Fri Feb 20, 2004 5:43 pm
@GreenGiant: Yes, if I had a month of Sundays to go through heaps of code! Call me dumb but if I update PB and only change my code where absolutely required then the problem lies elsewhere.
I have now performed a fresh install and copied over three required userlibs: GLU32F, minifmod170 and ScreenEx. Does anyone have a clue about what "fltused" refers to?
I have now performed a fresh install and copied over three required userlibs: GLU32F, minifmod170 and ScreenEx. Does anyone have a clue about what "fltused" refers to?
OK, an update: I removed all references to screenex and minifmod170 functions and then removed the actual libs from the libs dir. My guess is minifmod170 is/was causing the linking problem.
My code now compiles and runs but throws up an error. Remembering that this all compiled and ran fine in 382, it now seems to have a file-reading/ memory problem :roll: I had already modified memory management code to do away with mem id's and will now double check this area. In the mean time has anyone come across any gotcha's with files/ file reading/ memory?
Thanks again for the replies.
My code now compiles and runs but throws up an error. Remembering that this all compiled and ran fine in 382, it now seems to have a file-reading/ memory problem :roll: I had already modified memory management code to do away with mem id's and will now double check this area. In the mean time has anyone come across any gotcha's with files/ file reading/ memory?
Thanks again for the replies.


