Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Unknown type name ”dbs_mFlags”

Unknown type name ”dbs_mFlags” 3 years 7 months ago #10750

  • k96hkh
  • k96hkh's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hello,

When compiling (under Arch linux) I get this error:

Compiling rt_cbuf.c
I filen inkluderad ifrån rt_cvol.h:43,
                   ifrån rt_mvol.h:42,
                   ifrån rt_vol.h:49,
                   ifrån rt_cbuf.c:42:
rt_gdb.h:617:3: fel: okänt typnamn ”dbs_mFlags”
  617 |   dbs_mFlags lflags;
      |   ^~~~~~~~~~
rt_gdb.h:685:3: fel: okänt typnamn ”dbs_mFlags”
  685 |   dbs_mFlags lflags;
      |   ^~~~~~~~~~
make: *** [/home/henrik/pwrsrc_5.7.1-1/src/tools/bld/src/rules.mk:48: /home/henrik/pwrsrc_5.7.1-1/rls_dbg/os_linux/hw_x86_64/bld/lib/rt/rt_cbuf.o] Fel 1

I'm not a programmer but what I have found is that "dbs_mflags" is defined in src/lib/co/src/co_dbs.h so I don't understand why it is unknown. I have understood that order of type definitions is important in C, do I have some kind of setting that compiles the files in the wrong order?

Cheers / Henrik
Last Edit: 3 years 7 months ago by k96hkh. Reason: Added code tag
The administrator has disabled public write access.

Unknown type name ”dbs_mFlags” 3 years 6 months ago #10756

  • k96hkh
  • k96hkh's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi again!

I though I should share my theories why Proview wont build on my Arch linux.

I made a virtual environment with debian and on that machine the source builds fine (no surprise) so I have been looking for differences and for example gcc/g++ is 8.3.0 whereas on Arch it is 10.2.0 and Make is 4.2.1 whereas in Arch it is 4.3. Considering the big difference for gcc/etc I installed gcc 8 on Arch which ends up at version 8.4. I made a clean unpack of the source and changed cc and cxx in variables.mk to gcc-8 and g++-8 but get the same error when building with gcc-8.

Please let me know if anyone have any tip of what I should test.

Cheers / Henrik
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 6.823 seconds