# Problems with 5.34/01?

**URL:** <https://root-forum.cern.ch/t/problems-with-5-34-01/14929>\
**Category:** ROOT\
**Created:** [September 13, 2012, 4:18pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929 "2012-09-13T16:18:00Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![aregjan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aregjan](https://root-forum.cern.ch/u/aregjan)\
**Post date:** [September 13, 2012, 4:18pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/1 "2012-09-13T16:18:00Z")

</div>

I just finished building root 5.34/01 (the “recommended” version). A few things that used to work before now break.

First of all, the root “greeting header” is saying strange things:

> [@](#):
>
> * * *
> 
> - 
> 
> ```
> *
> 
> ```
> 
> - 
> 
> ```
> W E L C O M E to R O O T *
> 
> ```
> 
> - 
> 
> ```
> *
> 
> ```
> 
> - Version 5.22/00 17 December 2008 \*
> - 
> 
> ```
> *
> 
> ```
> 
> - You are welcome to visit our Web site \*
> - 
> 
> ```
> [root.cern.ch](http://root.cern.ch) *
> 
> ```
> 
> - 
> 
> ```
> *
> 
> ```
> 
> * * *
> 
> ROOT 5.22/00 (tags/v5-34-01@45048, Jul 13 2012, 15:31:31 on linuxx8664gcc)

5.22?? Even though we have tags/v5-34-01? My ROOTSYS is pointing to the right place.

But then I get major problems when I try to do vector operations. Here’s the output:

```auto
root [0] #include <vector>   
root [1] std::vector<TH2F*> a
Error: link requested for unknown class vector<TH2F*>::.* /home/aregjan/code/root/read/scripts/AutoDict_vector_TH2F__.cxx:7:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing /home/aregjan/code/root/read/scripts/AutoDict_vector_TH2F ___cxx_ACLiC_dict.cxx /home/aregjan/code/root/read/scripts/AutoDict_vector_TH2F___ cxx_ACLiC_dict.h !!!
Error: /usr/local/farm/root_v5.34.01/bin/rootcint: error loading headers...
Error in <ACLiC>: Dictionary generation failed!
...more stuff deleted...
```

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [September 13, 2012, 4:29pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/2 "2012-09-13T16:29:28Z")

</div>

(It seems to me that your ROOT setup is screwed -\> you have a mix of 5.22 and 5.34.)  
See: [url][libRIO.so error](https://root-forum.cern.ch/t/librio-so-error/14281/6)

Also try to “rm -f AutoDict\_vector\_\*”

See also [url][Release 5.32.03 on Ubuntu 12.04](https://root-forum.cern.ch/t/release-5-32-03-on-ubuntu-12-04/14368/2) and [url][Release 5.32.03 on Ubuntu 12.04](https://root-forum.cern.ch/t/release-5-32-03-on-ubuntu-12-04/14368/5)

---

<div class="post-metadata">

**Author:** ![aregjan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aregjan](https://root-forum.cern.ch/u/aregjan)\
**Post date:** [September 13, 2012, 5:55pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/3 "2012-09-13T17:55:50Z")

</div>

You mean you want me to run thisroot.csh? No difference, here’s the result –

> [@](#):
>
> 13:51:~\>source $ROOTSYS/bin/thisroot.csh  
> 13:53:~\>“root” -n
> 
> * * *
> 
> - 
> 
> ```
> *
> 
> ```
> 
> - 
> 
> ```
> W E L C O M E to R O O T *
> 
> ```
> 
> - 
> 
> ```
> *
> 
> ```
> 
> - Version 5.22/00 17 December 2008 \*
> - 
> 
> ```
> *
> 
> ```
> 
> - You are welcome to visit our Web site \*
> - 
> 
> ```
> [root.cern.ch](http://root.cern.ch) *
> 
> ```
> 
> - 
> 
> ```
> *
> 
> ```
> 
> * * *
> 
> ROOT 5.22/00 (tags/v5-34-01@45048, Jul 13 2012, 15:31:31 on linuxx8664gcc)
> 
> CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008  
> Type ? for help. Commands must be C++ statements.  
> Enclose multiple statements between { }.  
> root [0] #include   
> root [1] std::vector\<TH2F\*\> a  
> dlopen error: /home/aregjan/AutoDict\_vector\_TH2F\_\_\_cxx.so: undefined symbol: \_ZN4ROOT17TGenericClassInfoC1EPKcS2\_iRKSt9type\_infoPKNS\_13TInitBehaviorEPFvPvR16TMemberInspectorEPFvvEP16TVirtualIsAProxyii  
> Load Error: Failed to load Dynamic link library /home/aregjan/AutoDict\_vector\_TH2F\_\_\_cxx.so
> 
> \*\*\* Break \*\*\* segmentation violation
> 
> # =========================================================== There was a crash. This is the entire stack trace of all threads:
> 
> # #0 0x00007f2177e2c27e in \_\_libc\_waitpid (pid=, stat\_loc=0x7fffabbf606c, options=) at …/sysdeps/unix/sysv/linux/waitpid.c:32 #1 0x00007f2177dc37e9 in do\_system (line=) at …/sysdeps/posix/system.c:149 #2 0x00007f217a17bc56 in TUnixSystem::StackTrace() () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #3 0x00007f217a1799d7 in TUnixSystem::DispatchSignals(ESignals) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #4 #5 \_\_strcpy\_ssse3 () at …/sysdeps/x86\_64/multiarch/strcpy.S:94 #6 0x00007f21794640d9 in G\_\_getcommenttypedef () from /usr/local/farm/root\_v5.34.01/lib/libCint.so #7 0x00007f217947bfd9 in Cint::G\_\_TypedefInfo::Title() () from /usr/local/farm/root\_v5.34.01/lib/libCint.so #8 0x00007f217a14b02d in TDataType::TDataType(void\*) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #9 0x00007f217a1695ad in TCint::UpdateListOfTypes() () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #10 0x00007f217a165132 in TCint::Load(char const\*, bool) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #11 0x00007f217a0fd1e3 in TSystem::Load(char const\*, char const\*, bool) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #12 0x00007f217a1038d6 in TSystem::CompileMacro(char const\*, char const\*, char const\*, char const\*, unsigned int) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #13 0x00007f217a1639df in TCint\_GenerateDictionary(std::string const&, std::vector\<std::string, std::allocatorstd::string \> const&) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #14 0x00007f21794735ad in G\_\_instantiate\_templateclass () from /usr/local/farm/root\_v5.34.01/lib/libCint.so #15 0x00007f2179467f22 in G\_\_defined\_tagname () from /usr/local/farm/root\_v5.34.01/lib/libCint.so #16 0x00007f21794194af in G\_\_exec\_statement () from /usr/local/farm/root\_v5.34.01/lib/libCint.so #17 0x00007f217937312a in G\_\_exec\_tempfile\_core () from /usr/local/farm/root\_v5.34.01/lib/libCint.so #18 0x00007f21793733ee in G\_\_exec\_tempfile\_fp () from /usr/local/farm/root\_v5.34.01/lib/libCint.so #19 0x00007f217941f063 in G\_\_process\_cmd () from /usr/local/farm/root\_v5.34.01/lib/libCint.so #20 0x00007f217a164f9f in TCint::ProcessLine(char const\*, TInterpreter::EErrorCode\*) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #21 0x00007f217a0a3aac in TApplication::ProcessLine(char const\*, bool, int\*) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #22 0x00007f2178ce527e in TRint::HandleTermInput() () from /usr/local/farm/root\_v5.34.01/lib/libRint.so #23 0x00007f2178ce46b7 in TTermInputHandler::Notify() () from /usr/local/farm/root\_v5.34.01/lib/libRint.so #24 0x00007f2178ce67ed in TTermInputHandler::ReadNotify() () from /usr/local/farm/root\_v5.34.01/lib/libRint.so #25 0x00007f217a178f63 in TUnixSystem::CheckDescriptors() () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #26 0x00007f217a1793f5 in TUnixSystem::DispatchOneEvent(bool) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #27 0x00007f217a0f9346 in TSystem::InnerLoop() () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #28 0x00007f217a0fbfd4 in TSystem::Run() () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #29 0x00007f217a0a256f in TApplication::Run(bool) () from /usr/local/farm/root\_v5.34.01/lib/libCore.so #30 0x00007f2178ce63ca in TRint::Run(bool) () from /usr/local/farm/root\_v5.34.01/lib/libRint.so #31 0x000000000040113d in main ()
> 
> # The lines below might hint at the cause of the crash. If they do not help you then please submit a bug report at [root.cern.ch/bugs](http://root.cern.ch/bugs). Please post the ENTIRE stack trace from above as an attachment in addition to anything else that might help us fixing this issue.
> 
> # #5 \_\_strcpy\_ssse3 () at …/sysdeps/x86\_64/multiarch/strcpy.S:94
> 
> Root \>

---

<div class="post-metadata">

**Author:** ![aregjan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aregjan](https://root-forum.cern.ch/u/aregjan)\
**Post date:** [September 13, 2012, 5:57pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/4 "2012-09-13T17:57:13Z")

</div>

And, just to be completely clear:

> [@](#):
>
> 13:55:~\>echo $ROOTSYS/  
> /usr/local/farm/root\_v5.34.01/

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [September 13, 2012, 6:02pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/5 "2012-09-13T18:02:51Z")

</div>

Try (check “Root.DynamicPath”, “Root.MacroPath”, “Root.PluginPath”):  
root [0] gEnv-\>Print()  
and:  
root-config --version  
root-config --prefix  
root-config --etcdir  
and (if “which” doesn’t work, try “type” instead):  
which root  
which root.exe  
which rootn.exe  
ldd ${ROOTSYS}/bin/root.exe  
ldd ${ROOTSYS}/bin/rootn.exe

---

<div class="post-metadata">

**Author:** ![aregjan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aregjan](https://root-forum.cern.ch/u/aregjan)\
**Post date:** [September 13, 2012, 6:56pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/6 "2012-09-13T18:56:45Z")

</div>

Ok, here’s the output for gEnv-\>Print():

> [@](#):
>
> root [0] gEnv-\>Print()  
> Unix._.Root.DynamicPath: .:/usr/local/farm/root\_v5.34.01/lib: [Global]  
> WinNT._.Root.DynamicPath: .;/usr/local/farm/root\_v5.34.01/bin; [Global]  
> Unix._.Root.MacroPath: .:/usr/local/farm/root\_v5.34.01/macros: [Global]  
> WinNT._.Root.MacroPath: .;/usr/local/farm/root\_v5.34.01/macros; [Global]  
> Unix._.Root.PluginPath: :/usr/local/farm/root\_v5.34.01/etc/plugins: [Global]  
> WinNT._.Root.PluginPath: ;/usr/local/farm/root\_v5.34.01/etc/plugins; [Global]  
> …rest deleted…

And here’s the rest:

> [@](#):
>
> 14:52:~\>ldd {ROOTSYS}/bin/root.exe linux-vdso.so.1 =\> (0x00007fff997ff000) libCore.so =\> /usr/local/farm/root\_v5.34.01/lib/libCore.so (0x00007ff7c0504000) libCint.so =\> /usr/local/farm/root\_v5.34.01/lib/libCint.so (0x00007ff7bf8e4000) libMathCore.so =\> /usr/local/farm/root\_v5.34.01/lib/libMathCore.so (0x00007ff7bf506000) libRint.so =\> /usr/local/farm/root\_v5.34.01/lib/libRint.so (0x00007ff7bf2d6000) libdl.so.2 =\> /lib/libdl.so.2 (0x00007ff7bf0aa000) libstdc++.so.6 =\> /usr/lib/libstdc++.so.6 (0x00007ff7bed96000) libm.so.6 =\> /lib/libm.so.6 (0x00007ff7beb13000) libgcc\_s.so.1 =\> /lib/libgcc\_s.so.1 (0x00007ff7be8fb000) libpthread.so.0 =\> /lib/libpthread.so.0 (0x00007ff7be6de000) libc.so.6 =\> /lib/libc.so.6 (0x00007ff7be35b000) libcrypt.so.1 =\> /lib/libcrypt.so.1 (0x00007ff7be121000) /lib64/ld-linux-x86-64.so.2 (0x00007ff7c0f06000) 14:52:~\>ldd {ROOTSYS}/bin/rootn.exe  
> linux-vdso.so.1 =\> (0x00007ffff258a000)  
> libNew.so =\> /usr/local/farm/root\_v5.34.01/lib/libNew.so (0x00007f8119553000)  
> libCore.so =\> /usr/local/farm/root\_v5.34.01/lib/libCore.so (0x00007f8118b52000)  
> libCint.so =\> /usr/local/farm/root\_v5.34.01/lib/libCint.so (0x00007f8117f33000)  
> libMathCore.so =\> /usr/local/farm/root\_v5.34.01/lib/libMathCore.so (0x00007f8117b55000)  
> libRint.so =\> /usr/local/farm/root\_v5.34.01/lib/libRint.so (0x00007f8117924000)  
> libdl.so.2 =\> /lib/libdl.so.2 (0x00007f81176f9000)  
> libstdc++.so.6 =\> /usr/lib/libstdc++.so.6 (0x00007f81173e5000)  
> libm.so.6 =\> /lib/libm.so.6 (0x00007f8117161000)  
> libgcc\_s.so.1 =\> /lib/libgcc\_s.so.1 (0x00007f8116f4a000)  
> libpthread.so.0 =\> /lib/libpthread.so.0 (0x00007f8116d2d000)  
> libc.so.6 =\> /lib/libc.so.6 (0x00007f81169a9000)  
> libcrypt.so.1 =\> /lib/libcrypt.so.1 (0x00007f8116770000)  
> /lib64/ld-linux-x86-64.so.2 (0x00007f811975a000)  
> 14:52:~\>which “root”  
> /usr/local/farm/root\_v5.34.01/bin/root  
> 14:54:~\>root-config --etcdir  
> /usr/local/farm/root\_v5.34.01/etc  
> 14:54:~\>root-config --prefix  
> /usr/local/farm/root\_v5.34.01

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [September 13, 2012, 7:16pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/7 "2012-09-13T19:16:09Z")

</div>

To me it looks like the executables were coming from 5.22 while (some?) libraries from 5.34.  
Moreover, you seem to have a 64-bit system (x86\_64) but your ROOT is compiled as a 32-bit application.

I would like to propose that you destroy your installation completely using:  
rm -rf /usr/local/farm/root\_v5.34.01  
and then install everything from scratch using the procedure from (just replace “v5-32-00-patches” with “v5-34-00-patches” and “/opt/ROOT/v5-32-00-patches” with “/usr/local/farm/v5-34-00-patches”):  
[url][Release 5.32.03 on Ubuntu 12.04](https://root-forum.cern.ch/t/release-5-32-03-on-ubuntu-12-04/14368/5)

---

<div class="post-metadata">

**Author:** ![aregjan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aregjan](https://root-forum.cern.ch/u/aregjan)\
**Post date:** [September 13, 2012, 7:33pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/8 "2012-09-13T19:33:48Z")

</div>

Pepe le Pew, nowhere in my diagnostics – with the exception of the login banner – do I see any mention of 5.22.

Also, my /usr/lib is actually 64-bit (in case if that’s what makes you think that this is a 32bit build).

Anyway, I’ll try your suggestion tonight and report on the results.

p.s. Btw, I also installed 5.32.04, and everything is working flawlessly. Eh…

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [September 13, 2012, 7:41pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/9 "2012-09-13T19:41:30Z")

</div>

Usually there should be a difference between /lib and /lib64 and between /usr/lib and /usr/lib64 (the same names of libraries inside but compiled and linked for different “architectures”).  
But now I see “linuxx8664gcc” in your output …  
Anyhow, you can also try:  
root-config --arch

Just to make it clear … [code][…]$ root

* * *

- 

```
                                    *

```

- 

```
   W E L C O M E to R O O T *

```

- 

```
                                    *

```

- Version 5.34/01 13 July 2012 \*
- 

```
                                    *

```

- You are welcome to visit our Web site \*
- 

```
     http://root.cern.ch *

```

- 

```
                                    *

```

* * *

ROOT 5.34/01 (branches/v5-34-00-patches@45034, Aug 25 2012, 22:04:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010  
Type ? for help. Commands must be C++ statements.  
Enclose multiple statements between { }.  
root [0] #include   
root [1] std::vector\<TH2F\*\> a  
root [2] .q  
[…]$ ls AutoDict\_vector\_TH2F\_\_\*  
AutoDict\_vector\_TH2F\_\_.cxx AutoDict\_vector\_TH2F\_\_\_cxx.so  
AutoDict\_vector\_TH2F\_\_\_cxx.d[/code]

---

<div class="post-metadata">

**Author:** ![aregjan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aregjan](https://root-forum.cern.ch/u/aregjan)\
**Post date:** [September 13, 2012, 7:45pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/10 "2012-09-13T19:45:28Z")

</div>

> [@](#):
>
> 15:32:~/code/root/read/psd-cut\>root-config --arch  
> linuxx8664gcc

In my directory structure my /usr/lib64 is simply a link to /usr/lib, while /usr/lib32 is a separate dir. Same with /lib, it’s being pointed at by /lib64.

---

<div class="post-metadata">

**Author:** ![rdm](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rdm/32/11082_2.png) [@rdm](https://root-forum.cern.ch/u/rdm)\
**Post date:** [September 20, 2012, 10:00am UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/11 "2012-09-20T10:00:40Z")

</div>

Hi,

it looks like you are linking with on old TRint.o file, the one that prints the banner. The old values come from inline TROOT functions, while the correct ones come from TROOT function calls (which seems to be correct).

Can you just rebuild your ROOT version as Pepe suggests, doing:

cd root  
./configure  
make  
bin/thisroot.sh  
root.exe

Cheers, Fons.

---

<div class="post-metadata">

**Author:** ![aregjan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aregjan](https://root-forum.cern.ch/u/aregjan)\
**Post date:** [September 20, 2012, 2:18pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/12 "2012-09-20T14:18:21Z")

</div>

Ok, I think I know what’s happening. I was always under the impression that the build is successful, yet it wasn’t – it just didn’t complain. I checked the binary $ROOTSYS/bin/root – it was an old binary that came with the tarball.

So far I have been trying to build with

```auto
>make -j 2
```

for a dual core processor, and I didn’t have any errors – hence the confusion. But now I did

```auto
>make 
```

and the errors are finally pouring out:

> [@](#):
>
> g++ -O2 -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG\_\_REGEXP -DG\_\_UNIX -DG\_\_SHAREDLIB -DG\_\_OSFDLL -DG\_\_ROOT -DG\_\_REDIRECTIO -DG\_\_STD\_EXCEPTION -DG\_\_64BIT -DG\_\_HAVE\_CONFIG -DG\_\_NOMAKEINFO -DG\_\_CINTBODY -I/usr/local/farm/root\_v5.34.01/cint/cint/inc -I/usr/local/farm/root\_v5.34.01/cint/cint/src -I/usr/local/farm/root\_v5.34.01/cint/cint/src/dict -pthread -Icint/cint/lib/gcc4strm -Wno-strict-aliasing -I. -o cint/cint/src/dict/gcc4strm.o -c cint/cint/src/dict/gcc4strm.cxx  
> g++ -shared -Wl,-soname,libCint.so -m64 -O2 -Wl,–no-undefined -Wl,–as-needed -o lib/libCint.so cint/cint/src/g\_\_cfunc.o cint/cint/src/config/strlcpy.o cint/cint/src/config/strlcat.o cint/cint/src/config/snprintf.o cint/cint/main/G\_\_setup.o cint/cint/src/Api.o cint/cint/src/auxu.o cint/cint/src/BaseCls.o cint/cint/src/bc\_assign.o cint/cint/src/bc\_autoobj.o cint/cint/src/bc\_cfunc.o cint/cint/src/bc\_debug.o cint/cint/src/bc\_eh.o cint/cint/src/bc\_exec.o cint/cint/src/bc\_inst.o cint/cint/src/bc\_item.o cint/cint/src/bc\_parse.o cint/cint/src/bc\_reader.o cint/cint/src/bc\_type.o cint/cint/src/bc\_vtbl.o cint/cint/src/CallFunc.o cint/cint/src/cast.o cint/cint/src/Class.o cint/cint/src/DataMbr.o cint/cint/src/debug.o cint/cint/src/decl.o cint/cint/src/disp.o cint/cint/src/dump.o cint/cint/src/end.o cint/cint/src/error.o cint/cint/src/expr.o cint/cint/src/FastAllocString.o cint/cint/src/fread.o cint/cint/src/func.o cint/cint/src/gcoll.o cint/cint/src/global1.o cint/cint/src/global2.o cint/cint/src/ifunc.o cint/cint/src/inherit.o cint/cint/src/init.o cint/cint/src/input.o cint/cint/src/intrpt.o cint/cint/src/loadfile.o cint/cint/src/macos.o cint/cint/src/macro.o cint/cint/src/malloc.o cint/cint/src/memtest.o cint/cint/src/MethodAr.o cint/cint/src/Method.o cint/cint/src/new.o cint/cint/src/newlink.o cint/cint/src/newsos.o cint/cint/src/oldlink.o cint/cint/src/opr.o cint/cint/src/parse.o cint/cint/src/pause.o cint/cint/src/pcode.o cint/cint/src/pragma.o cint/cint/src/quote.o cint/cint/src/random.o cint/cint/src/rflx\_gendict.o cint/cint/src/rflx\_gensrc.o cint/cint/src/rflx\_tools.o cint/cint/src/scrupto.o cint/cint/src/Shadow.o cint/cint/src/shl.o cint/cint/src/sizeof.o cint/cint/src/strbuf.o cint/cint/src/struct.o cint/cint/src/stub.o cint/cint/src/sunos.o cint/cint/src/symbols.o cint/cint/src/tmplt.o cint/cint/src/Token.o cint/cint/src/Type.o cint/cint/src/typedef.o cint/cint/src/Typedf.o cint/cint/src/val2a.o cint/cint/src/value.o cint/cint/src/var.o cint/cint/src/winnt.o cint/cint/src/dict/Apiif.o cint/cint/src/dict/stdstrct.o cint/cint/src/dict/gcc4strm.o -ldl  
> cint/cint/src/winnt.o: In function `alarm': winnt.cxx:(.text+0x0): multiple definition of `alarm’  
> cint/cint/src/macos.o:macos.cxx:(.text+0x0): first defined here  
> cint/cint/src/winnt.o: In function `getopt': winnt.cxx:(.text+0x10): multiple definition of `getopt’  
> cint/cint/src/macos.o:macos.cxx:(.text+0x10): first defined here  
> cint/cint/src/winnt.o:(.data+0x0): multiple definition of `optind' cint/cint/src/macos.o:(.data+0x0): first defined here cint/cint/src/winnt.o:(.bss+0x0): multiple definition of `optarg’  
> cint/cint/src/macos.o:(.bss+0x0): first defined here  
> cint/cint/src/macos.o: In function `getopt': macos.cxx:(.text+0x8c): undefined reference to `G\_\_fprinterr(char\*, …)’  
> collect2: ld returned 1 exit status  
> make: \*\*\* [lib/libCint.so] Error 1

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [September 20, 2012, 4:16pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/13 "2012-09-20T16:16:08Z")

</div>

Can it be that you have again unpacked several tarballs into your working subdirectory and you then try to build ROOT in the same subdirectory from the source code?  
Or maybe you tried to build ROOT for different architectures without making “distclean” in-between?  
If yes, first make sure that you delete the source code and the “target” subdirectories completely. Then unpack the source code and then configure and make ROOT.

---

<div class="post-metadata">

**Author:** ![aregjan](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aregjan](https://root-forum.cern.ch/u/aregjan)\
**Post date:** [September 20, 2012, 5:00pm UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/14 "2012-09-20T17:00:17Z")

</div>

Here’s what I did. I removed the 5.34.01 directory, re-downloaded the tarball and unpacked it, configured it,  
and ran

```auto
>make
```

(no dual core support this time).

And it all worked fine! It went through a lengthy build, gave me the final banner confirming that the build was successful, and after I run “root” everything worked correctly – the banner had 5.34.01.

However, I then deleted the 5.34.01 directory again, and this time I tried

```auto
>make -j 2
```

It compiled everything until the following line:

> [@](#):
>
> g++ -shared -Wl,-soname,libGviz3d.so -m64 -O2 -Wl,–no-undefined -Wl,–as-needed -o lib/libGviz3d.so graf3d/gviz3d/src/TStructNode.o graf3d/gviz3d/src/TStructNodeEditor.o graf3d/gviz3d/src/TStructNodeProperty.o graf3d/gviz3d/src/TStructViewer.o graf3d/gviz3d/src/TStructViewerGUI.o graf3d/gviz3d/src/G\_\_Gviz3d.o -Llib -lGui -lGed -lGpad -lGraf3d -lGraf -lGeom -lRGL -Llib -lCore -lCint -ldl  
> ==\> lib/libGviz3d.so done  
> ==\> lib/libEve.so done

and got stuck there. It has been stuck there for the last 2 hours. CPU at 100%, and no progress.

UPDATE: I Control-C-ed the build, but noticed that bin/root was already built. Tried it – it works! Hmm…maybe that’s some bug in the Makefile?

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [September 25, 2012, 7:24am UTC](https://root-forum.cern.ch/t/problems-with-5-34-01/14929/15 "2012-09-25T07:24:12Z")

</div>

[quote]UPDATE: I Control-C-ed the build, but noticed that bin/root was already built. Tried it – it works! Hmm…maybe that’s some bug in the Makefile?[/quote]Yes, there seems to be a bug in Makefile and/or make that leads to this issue. We have not been able to reproduce it frequently enough to track it down.

Philippe.
