User forums > Help

[Linux] Error compiling the copystrings (Unix) on Ubuntu 5.10

(1/6) > >>

Michael:
Hello,

I got an error when compiling the contr. plugins workspace. I am using C::B rev2185.


--- Quote ---copystrings.cpp:10:17 error: calling fdopen: Bad file descriptor

--- End quote ---

The problem is located here:


--- Code: ---#include "sdk.h"

--- End code ---

C::B itself compiled fine.

I have also tried to get a new sdk.h from SVN, but got the same error.

Best wishes,
Michael

killerbot:
damn damn, I think I might have screwed this one up. All the other plug-ins build ok ??

Last friday I changed sdk.h, but everything kept on building, yesterday I cleaned up copystrings, I have the feeling, something was wrong there.

Michael:
Hello,

I will give a try to the others and then post here. I have just stopped at the error.

Best wishes,
Michael

killerbot:
although it should not have anything to do with it : try <sdk.h> ??

On windows everythings still builds ok, so that's one thing.
Another thing to try :
comment out the ifdef CB_PRECOMP, sdk.h the else and endif, just to see if copystrings compiles.

In the meantime I am rebooting and switching to linux

[EDIT] : in linux ... and building .....

killerbot:
Woops : other problems,
I have error in the building of codestat :
Seems Zlika's commit does not work on linux.
codestatconfig.cpp -> will fix them once I am back in windows.

[EDIT] : FIX

just add in that cpp file :
#include "manager.h"
#include "configmanager.h"

There's more to adjust to have the includes "clean and correct", but I will adjust that later this week. Just by adding these 2 lines, we are up and running again.

Navigation

[0] Message Index

[#] Next page

Go to full version