Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. 1.2.3 ошибки при компиляции

1.2.3 ошибки при компиляции

Scheduled Pinned Locked Moved Support (Russian)
10 Posts 3 Posters 12.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    MaG
    wrote on last edited by
    #1

    система ubuntu 12.04
    ./configure --prefix=/usr/local/netxms --with-server --with-pgsql --with-agent --with-nxhttpd --with-openssl --with-gd --with-snmp

    ....

    nxmibc.cpp:91:26: предупреждение: ignoring return value of «char* fgets(char*, int, FILE*)», declared with attribute warn_unused_result [-Wunused-result]
      CXX    parser.tab.o
      CXXLD  nxmibc
    ../../libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwcomp'
    ../../libnetxms/.libs/libnetxms.so: undefined reference to `tre_regwexec'

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Попробуйте добавить --with-internal-libtre при конфигурации.

      1 Reply Last reply
      0
      • S
        S
        SKYnv
        wrote on last edited by
        #3

        а разве

        --with-nxhttpd

         сейчас работает? вроде же на сервлет перешли? или они не зависят друг от друга?

        1 Reply Last reply
        0
        • M
          M
          MaG
          wrote on last edited by
          #4

          SKYnv
          а хз я строчку конфигурации с первых релизов не менял )
          Victor Kirhenshtein
          ./configure --prefix=/usr/local/netxms --with-server --with-pgsql --with-agent --with-openssl --with-gd --with-internal-libtre
          и без изменений

          1 Reply Last reply
          0
          • S
            S
            SKYnv
            wrote on last edited by
            #5

            @mag said in 1.2.3 ошибки при компиляции:

            SKYnv
            а хз я строчку конфигурации с первых релизов не менял )
            Victor Kirhenshtein
            ./configure --prefix=/usr/local/netxms --with-server --with-pgsql --with-agent --with-openssl --with-gd --with-internal-libtre
            и без изменений

            ясн, а почему unicode билд не попробуйте? или не принципиально? --enable-unicode

            1 Reply Last reply
            0
            • M
              M
              MaG
              wrote on last edited by
              #6

              UP
              ещё предложения как откомпилить?

              1 Reply Last reply
              0
              • V
                V
                Victor Kirhenshtein
                wrote on last edited by
                #7

                Повторить пока не удалось нигде. Сейчас скачаю Ubuntu 12.04, поставлю - думаю к вечеру поправлю.

                1 Reply Last reply
                0
                • V
                  V
                  Victor Kirhenshtein
                  wrote on last edited by
                  #8

                  ПОхоже по непонятным пока причинам линкер берет старые версии библиотек (те, которые уже проинсталлированы). Я пока не разобрался, почему так происходит, но для сборки достаточно удалить старые библиотеки.

                  1 Reply Last reply
                  0
                  • M
                    M
                    MaG
                    wrote on last edited by
                    #9

                    библиотеки libtre?
                     apt-get remove libtre5 не помогло

                    1 Reply Last reply
                    0
                    • V
                      V
                      Victor Kirhenshtein
                      wrote on last edited by
                      #10

                      Нет, я имел ввиду библиотеки самого NetXMS'а - libnetxms.so, libnxsrv.so, и т.д.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups