[vtkusers] HP NonStop porting issues?

Eric M. LaFranchi eric.lafranchi at voltage.com
Wed Nov 18 14:38:18 EST 2009


Unable to find a cmake port for the HP-NonStop platform, I am working though the details of porting using cmake-2.8.0 source.
A few issues, so far:
1. After the initial part of the bootstrap process, I changed CMakeCache.txt to use the system curl (CMAKE_USE_SYSTEM_CURL:BOOL=ON).
   The socket link libraries were not found. This is not holding me up and I hope to solve the issue so that I don't have to manually edit the CMakeCache.txt   in the middle of the bootstrap process and then rerun bootstrap.

2. Here is the more puzzling problem. Manually running the next phase of the bootstrap, I get a link error because libdl.a (-ldl) is in the link command and libdl doesn't exist on this system.
   I am unable to locate the place in the code where (-ldl) can be removed from the link command. Maybe someone can help me with this issue?

Thanks, Eric

 Here is the output after running ./bootstrap or gmake:

...
[  6%] Built target cmsys
[  6%] Built target cmsysTestDynload
[  9%] Built target cmsys_c
[  9%] Built target cmsysTestProcess
[ 10%] Built target cmsysTestSharedForward
[ 11%] Built target cmsysTestsC
Linking CXX executable ../../bin/cmsysTestsCxx

eld - TNS/E Native Mode Linker - T0608H01^AAK - 16FEB2009
Copyright 2009 Hewlett-Packard Company
This program may be distributed under the terms of the GNU
General Public License.

eld command line:
   /usr/bin/eld -o ../../bin/cmsysTestsCxx -set systype oss -set highpin on
   -set highrequestor on -set inspect on /usr/lib/ccplmain.o -call_shared
   CMakeFiles/cmsysTestsCxx.dir/cmsysTestsCxx.o
   CMakeFiles/cmsysTestsCxx.dir/testAutoPtr.o
   CMakeFiles/cmsysTestsCxx.dir/testHashSTL.o
   CMakeFiles/cmsysTestsCxx.dir/testRegistry.o
   CMakeFiles/cmsysTestsCxx.dir/testIOS.o
   CMakeFiles/cmsysTestsCxx.dir/testSystemTools.o
   CMakeFiles/cmsysTestsCxx.dir/testCommandLineArguments.o
   CMakeFiles/cmsysTestsCxx.dir/testCommandLineArguments1.o
   CMakeFiles/cmsysTestsCxx.dir/testSystemInformation.o
   CMakeFiles/cmsysTestsCxx.dir/testDynamicLoader.o libcmsys.a -ldl
   -L/usr/local/lib -lfloss -lutil -lrld -optional_lib -L /G/system/sys02
   -lcppc -lcpp3 -no_optional_lib -optional_lib -lcre -lcrtl -lossk -lossf
   -lsec -li18n -licnv -losse -linet -lossh -lossc -no_optional_lib
   -allow_duplicate_procs -unres_symbols error

**** FATAL ERROR **** [1083] - linker halting:
   Cannot find dl, given in -l option.

No output file created.

1 error reported.
No warnings reported.
No informational messages reported.
1 informational message suppressed.
Elapsed Time:  00:00:01
c89: /usr/bin/eld exited, returning 1.
gmake[2]: *** [bin/cmsysTestsCxx] Error 1
gmake[1]: *** [Source/kwsys/CMakeFiles/cmsysTestsCxx.dir/all] Error 2
gmake: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091118/59c943d9/attachment.htm>


More information about the vtkusers mailing list