|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » U++ 1977 compile broblem.
U++ 1977 compile broblem. [message #24760] |
Fri, 29 January 2010 14:13  |
rett
Messages: 15 Registered: January 2010
|
Promising Member |
|
|
HELP!!! I've updated to SVN 1977 and can't compile my application (Ubuntu linux)
I use linux_scripts/dosvn
plugin\png: 3 file(s) built in (0:00.64), 213 msecs / file, duration = 1784 msecs, parallelization 100%
ide: 42 file(s) built in (0:21.57), 513 msecs / file, duration = 22062 msecs, parallelization 18%
Linking...
/tmp/idebuild.ciL8186/CtrlLib/GCC.Blitz.Gui.Shared/$blitz.o: In function `Upp::TrayIcon::Message(int, char const*, char const*, int)':
$blitz.cpp:(.text+0x10056): undefined reference to `notify_init'
$blitz.cpp:(.text+0x10089): undefined reference to `notify_notification_new'
$blitz.cpp:(.text+0x1009b): undefined reference to `notify_notification_set_timeout'
$blitz.cpp:(.text+0x100a7): undefined reference to `notify_notification_show'
$blitz.cpp:(.text+0x100af): undefined reference to `notify_uninit'
collect2: ld returned 1 exit status
There were errors. (2:02.16)
ERROR - TheIDE returned '1' error code
Creating package......
b4b9ef0096f53f85f38f8c84bc5eabec
[Updated on: Fri, 29 January 2010 14:15] Report message to a moderator
|
|
|
|
|
Re: U++ 1977 compile broblem. [message #24768 is a reply to message #24761] |
Fri, 29 January 2010 14:59   |
rett
Messages: 15 Registered: January 2010
|
Promising Member |
|
|
cbpporter wrote on Fri, 29 January 2010 14:28 | You need to install libnotify-dev package (name may be changed under different distributions). It is a new requirement.
|
$ sudo apt-get install libnotify-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnotify-dev is already the newest version.
Quote: | And I suggest Rebuild All afterwards ... just to be sure every object file is up to date.
|
I rebuild all, but mistake remained.
b4b9ef0096f53f85f38f8c84bc5eabec
|
|
|
Re: U++ 1977 compile broblem. [message #24772 is a reply to message #24760] |
Fri, 29 January 2010 15:55   |
andrei_natanael
Messages: 262 Registered: January 2009
|
Experienced Member |
|
|
rett wrote on Fri, 29 January 2010 15:13 | HELP!!! I've updated to SVN 1977 and can't compile my application (Ubuntu linux)
I use linux_scripts/dosvn
plugin\png: 3 file(s) built in (0:00.64), 213 msecs / file, duration = 1784 msecs, parallelization 100%
ide: 42 file(s) built in (0:21.57), 513 msecs / file, duration = 22062 msecs, parallelization 18%
Linking...
/tmp/idebuild.ciL8186/CtrlLib/GCC.Blitz.Gui.Shared/$blitz.o: In function `Upp::TrayIcon::Message(int, char const*, char const*, int)':
$blitz.cpp:(.text+0x10056): undefined reference to `notify_init'
$blitz.cpp:(.text+0x10089): undefined reference to `notify_notification_new'
$blitz.cpp:(.text+0x1009b): undefined reference to `notify_notification_set_timeout'
$blitz.cpp:(.text+0x100a7): undefined reference to `notify_notification_show'
$blitz.cpp:(.text+0x100af): undefined reference to `notify_uninit'
collect2: ld returned 1 exit status
There were errors. (2:02.16)
ERROR - TheIDE returned '1' error code
Creating package......
|
You better start to use uppbox/Scripts as linux_script are deprecated.
Your problem is related to linkage step. You may miss notify lib from libraries dependencies (it was added as dependency to CtrlCore), check if it exists there. If it's there then check if you have it installed in /usr/lib/ (libnotify.a /so).
|
|
|
Re: U++ 1977 compile broblem. [message #24777 is a reply to message #24772] |
Fri, 29 January 2010 17:33   |
rett
Messages: 15 Registered: January 2010
|
Promising Member |
|
|
andrei_natanael wrote on Fri, 29 January 2010 15:55 |
rett wrote on Fri, 29 January 2010 15:13 | HELP!!! I've updated to SVN 1977 and can't compile my application (Ubuntu linux)
I use linux_scripts/dosvn
plugin\png: 3 file(s) built in (0:00.64), 213 msecs / file, duration = 1784 msecs, parallelization 100%
ide: 42 file(s) built in (0:21.57), 513 msecs / file, duration = 22062 msecs, parallelization 18%
Linking...
/tmp/idebuild.ciL8186/CtrlLib/GCC.Blitz.Gui.Shared/$blitz.o: In function `Upp::TrayIcon::Message(int, char const*, char const*, int)':
$blitz.cpp:(.text+0x10056): undefined reference to `notify_init'
$blitz.cpp:(.text+0x10089): undefined reference to `notify_notification_new'
$blitz.cpp:(.text+0x1009b): undefined reference to `notify_notification_set_timeout'
$blitz.cpp:(.text+0x100a7): undefined reference to `notify_notification_show'
$blitz.cpp:(.text+0x100af): undefined reference to `notify_uninit'
collect2: ld returned 1 exit status
There were errors. (2:02.16)
ERROR - TheIDE returned '1' error code
Creating package......
|
You better start to use uppbox/Scripts as linux_script are deprecated.
Your problem is related to linkage step. You may miss notify lib from libraries dependencies (it was added as dependency to CtrlCore), check if it exists there. If it's there then check if you have it installed in /usr/lib/ (libnotify.a /so).
|
Thank you,
I change uppsrc/CtrlCore/CtrlCore.upp
add "notify" in "library((LINUX | BSD) & !NOGTK)" line 
but uppbox/Scripts not work:
$ make
sh domake
make: *** uppsrc: No such file or directory. Stop.
cp: cannot stat `uppsrc/ide.out': No such file or directory
make: *** [all] Error 1
b4b9ef0096f53f85f38f8c84bc5eabec
|
|
|
|
|
|
Re: U++ 1977 compile broblem. [message #24824 is a reply to message #24823] |
Sun, 31 January 2010 21:10   |
|
luzr wrote on Sun, 31 January 2010 20:23 |
koldo wrote on Sun, 31 January 2010 10:19 | Hello
In linux_scripts there is a script to build .deb that works very well for me.
It has been done by dolik.rce based in the work of mdelfede.
It is used in the U++ announcements to get the i386 .deb.
|
Actual script used for nightly builds is in uppbox/Scripts. It is still the same script.
|
Hi Mirek!
Sorry for off-topic, I just want to clarify the situation about scripts. The original script used for producing debs (which clone is still used for nightly builds) didn't work for Koldo for some reason. I couldn't really find why, since on my machine it was working fine. But in the process I've noticed few places in the code that could have been written better or simpler. Therefore I rewrote the stuff and it is now in linux_scripts and Koldo uses it for 32bit builds he puts on sf.net. (By the way, I recently found there is quite a lot of mistakes in all of those scripts and I'm working on their corrections.)
Honza
|
|
|
|
|
|
Re: U++ 1977 compile broblem. [message #24834 is a reply to message #24787] |
Mon, 01 February 2010 10:28  |
rett
Messages: 15 Registered: January 2010
|
Promising Member |
|
|
andrei_natanael wrote on Fri, 29 January 2010 22:05 | Sorry but i'm confused. In first post you wanted to create a deb package (that's what dosvn is doing) and in last one you wanted to compile the ide with make. If you want to use make then download latest src package from http://code.google.com/p/upp-mirror/downloads/list and build it using make. If you have upp installed and want to build a newer version use the existing ide and make it pointing to new version, build it and use it. Only small changes were introduced in theIDE and they exist in latest builds from googlecode so you may use deb package from there(the easy way).
|
Thank you.
b4b9ef0096f53f85f38f8c84bc5eabec
|
|
|
Goto Forum:
Current Time: Tue Apr 29 14:56:17 CEST 2025
Total time taken to generate the page: 0.03678 seconds
|
|
|